fix: add deleted user status filter (#5464)

This commit is contained in:
Seefs
2026-06-13 00:03:28 +08:00
committed by GitHub
parent 1292b8b2d5
commit 1507229238
5 changed files with 18 additions and 6 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ const usersSearchSchema = z.object({
pageSize: z.number().optional().catch(undefined),
filter: z.string().optional().catch(''),
status: z
.array(z.enum(['1', '2']))
.array(z.enum(['-1', '1', '2']))
.optional()
.catch([]),
role: z