Skip to content

Commit 34ac0bf

Browse files
authored
Add log_message_id to export (#484)
1 parent 4fa77d5 commit 34ac0bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/src/api/guilds/importExport.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const caseData = z.object({
3535
is_hidden: z.boolean(),
3636
pp_id: z.nullable(z.string()),
3737
pp_name: z.nullable(z.string()),
38-
38+
log_message_id: z.string().optional(),
3939
notes: z.array(caseNoteData),
4040
});
4141

@@ -168,7 +168,7 @@ export function initGuildsImportExportAPI(guildRouter: express.Router) {
168168
is_hidden: theCase.is_hidden,
169169
pp_id: theCase.pp_id,
170170
pp_name: theCase.pp_name,
171-
171+
log_message_id: theCase.log_message_id ?? undefined,
172172
notes: theCase.notes.map((note) => ({
173173
mod_id: note.mod_id,
174174
mod_name: note.mod_name,

0 commit comments

Comments
 (0)