mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-14 21:31:50 +00:00
Add log_message_id to export (#484)
This commit is contained in:
parent
4fa77d57df
commit
34ac0bfb7e
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue