diff --git a/src/controllers/api/statuses.ts b/src/controllers/api/statuses.ts index 3e2de31..91b4d45 100644 --- a/src/controllers/api/statuses.ts +++ b/src/controllers/api/statuses.ts @@ -462,7 +462,7 @@ const unpinController: AppController = async (c) => { const zapSchema = z.object({ account_id: n.id(), - status_id: n.id().optional().or(z.literal('')), + status_id: n.id().optional(), amount: z.number().int().positive(), comment: z.string().optional(), });