fix(admin): change list type from never[] to UserWithRole[] (#7701)

This commit is contained in:
LovelessCodes
2026-01-30 17:48:52 +01:00
committed by GitHub
parent 9e1ab8e6da
commit b00bc2fd16

View File

@@ -688,7 +688,7 @@ export const listUsers = (opts: AdminOptions) =>
});
} catch {
return ctx.json({
users: [],
users: [] as UserWithRole[],
total: 0,
});
}