mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-25 08:31:37 -05:00
fix(admin): change list type from never[] to UserWithRole[] (#7701)
This commit is contained in:
@@ -688,7 +688,7 @@ export const listUsers = (opts: AdminOptions) =>
|
||||
});
|
||||
} catch {
|
||||
return ctx.json({
|
||||
users: [],
|
||||
users: [] as UserWithRole[],
|
||||
total: 0,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user