3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 05:41:51 +00:00

Merge branch 'master' into feat/polls

This commit is contained in:
rubyowo 2024-06-03 13:03:53 +00:00 committed by GitHub
commit 9673678a4e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ const caseData = z.object({
is_hidden: z.boolean(), is_hidden: z.boolean(),
pp_id: z.nullable(z.string()), pp_id: z.nullable(z.string()),
pp_name: z.nullable(z.string()), pp_name: z.nullable(z.string()),
log_message_id: z.string().optional(),
notes: z.array(caseNoteData), notes: z.array(caseNoteData),
}); });
@ -168,7 +168,7 @@ export function initGuildsImportExportAPI(guildRouter: express.Router) {
is_hidden: theCase.is_hidden, is_hidden: theCase.is_hidden,
pp_id: theCase.pp_id, pp_id: theCase.pp_id,
pp_name: theCase.pp_name, pp_name: theCase.pp_name,
log_message_id: theCase.log_message_id ?? undefined,
notes: theCase.notes.map((note) => ({ notes: theCase.notes.map((note) => ({
mod_id: note.mod_id, mod_id: note.mod_id,
mod_name: note.mod_name, mod_name: note.mod_name,