From 06b168813088b5a12381636e0daeee683972a7ef Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 15 Jul 2023 19:47:59 -0500 Subject: [PATCH] Actually, account.url is not optional --- app/soapbox/schemas/account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/schemas/account.ts b/app/soapbox/schemas/account.ts index 563e98e90b..a4881f4bcf 100644 --- a/app/soapbox/schemas/account.ts +++ b/app/soapbox/schemas/account.ts @@ -87,7 +87,7 @@ const baseAccountSchema = z.object({ statuses_count: z.number().catch(0), suspended: z.boolean().catch(false), uri: z.string().url().catch(''), - url: z.string().url().catch(''), + url: z.string().url(), username: z.string().catch(''), verified: z.boolean().catch(false), website: z.string().catch(''),