Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
nexryai committed Nov 2, 2024
1 parent a1ad635 commit b7a1bca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/server/api/endpoints/users/show.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export default define(meta, paramDef, async (ps, me) => {
const users = await Users.findBy(isAdminOrModerator ? {
id: In(ps.userIds),
isDeleted: false,
host: me ? null : IsNull(),
host: me ? undefined : IsNull(),
} : {
id: In(ps.userIds),
isSuspended: false,
Expand Down

0 comments on commit b7a1bca

Please sign in to comment.