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

This commit is contained in:
LovelessCodes
2026-01-30 16:48:52 +00:00
committed by GitHub
parent 9e1ab8e6da
commit b00bc2fd16
@@ -688,7 +688,7 @@ export const listUsers = (opts: AdminOptions) =>
});
} catch {
return ctx.json({
users: [],
users: [] as UserWithRole[],
total: 0,
});
}