diff --git a/backend/src/api/guilds/importExport.ts b/backend/src/api/guilds/importExport.ts index 28db0e6a9..73d8af2f2 100644 --- a/backend/src/api/guilds/importExport.ts +++ b/backend/src/api/guilds/importExport.ts @@ -35,7 +35,7 @@ const caseData = z.object({ is_hidden: z.boolean(), pp_id: z.nullable(z.string()), pp_name: z.nullable(z.string()), - + log_message_id: z.string().optional(), notes: z.array(caseNoteData), }); @@ -168,7 +168,7 @@ export function initGuildsImportExportAPI(guildRouter: express.Router) { is_hidden: theCase.is_hidden, pp_id: theCase.pp_id, pp_name: theCase.pp_name, - + log_message_id: theCase.log_message_id ?? undefined, notes: theCase.notes.map((note) => ({ mod_id: note.mod_id, mod_name: note.mod_name,