groupSchema: catch emojis
This commit is contained in:
parent
3d2331d20b
commit
6a2c64ae45
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ const groupSchema = z.object({
|
|||
created_at: z.string().datetime().catch(new Date().toUTCString()),
|
||||
display_name: z.string().catch(''),
|
||||
domain: z.string().catch(''),
|
||||
emojis: filteredArray(customEmojiSchema),
|
||||
emojis: filteredArray(customEmojiSchema).catch([]),
|
||||
group_visibility: z.string().catch(''), // TruthSocial
|
||||
header: z.string().catch(headerMissing),
|
||||
header_static: z.string().catch(''),
|
||||
|
|
Loading…
Reference in a new issue