Fix verified account fields on Mastodon

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-07-27 00:10:35 +02:00
parent a793c59588
commit 157b36a87f

View file

@ -21,7 +21,7 @@ const hexSchema = z.string().regex(/^#[a-f0-9]{6}$/i);
const fieldSchema = z.object({
name: z.string(),
value: z.string(),
verified_at: z.string().datetime().nullable().catch(null),
verified_at: z.string().datetime({ offset: true }).nullable().catch(null),
});
const roleSchema = z.object({