Skip to content

Commit

Permalink
Merge branch 'master' into feat/polls
Browse files Browse the repository at this point in the history
  • Loading branch information
rubyowo authored Jun 3, 2024
2 parents 9290497 + 34ac0bf commit 9673678
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/src/api/guilds/importExport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
});

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 9673678

Please sign in to comment.