This commit is contained in:
Alex Gleason 2024-05-25 09:20:16 -05:00
parent 4f32972d85
commit b64ea84b82
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 3 additions and 3 deletions

View File

@ -225,10 +225,10 @@ const updateCredentialsSchema = z.object({
locked: z.boolean().optional(),
bot: z.boolean().optional(),
discoverable: z.boolean().optional(),
nip05: z.union([z.string().email().optional(), z.literal('')]),
nip05: z.string().email().or(z.literal('')).optional(),
pleroma_settings_store: z.unknown().optional(),
lud16: z.union([z.string().email().optional(), z.literal('')]),
website: z.union([z.string().url().optional(), z.literal('')]),
lud16: z.string().email().or(z.literal('')).optional(),
website: z.string().url().or(z.literal('')).optional(),
});
const updateCredentialsController: AppController = async (c) => {