Skip to content

Commit ee76696

Browse files
et la pour discord ta : type d'installations non pris en charge pour cet
1 parent b702f56 commit ee76696

File tree

5 files changed

+271
-190
lines changed

5 files changed

+271
-190
lines changed

src/app/(app)/projects/[id]/actions.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11

2+
23
'use server';
34

45
import type { Project, ProjectMember, ProjectMemberRole, Task, TaskStatus, Tag, Document as ProjectDocumentType, Announcement as ProjectAnnouncement, UserGithubOAuthToken, GithubRepoContentItem, User, DuplicateProjectFormState } from '@/types';
@@ -2095,7 +2096,7 @@ export async function updateProjectDiscordSettingsAction(
20952096
return { error: "You do not have permission to change Discord settings for this project." };
20962097
}
20972098

2098-
const updatedProject = await dbUpdateProjectDiscordSettings(projectUuid, discordWebhookUrl, discordNotificationsEnabled, notifyTasks, notifyMembers, notifyAnnouncements, notifyDocuments, notifySettings);
2099+
const updatedProject = await dbUpdateProjectDiscordSettings(projectUuid, discordWebhookUrl, discordNotificationsEnabled, discordNotifyTasks, discordNotifyMembers, discordNotifyAnnouncements, discordNotifyDocuments, discordNotifySettings);
20992100

21002101
if (!updatedProject) {
21012102
return { error: "Failed to update project settings in the database." };

0 commit comments

Comments
 (0)