diff --git a/src/server/api/endpoints/users.ts b/src/server/api/endpoints/users.ts index c17f8c1b5b..c31aeaf037 100644 --- a/src/server/api/endpoints/users.ts +++ b/src/server/api/endpoints/users.ts @@ -3,7 +3,7 @@ import User, { pack } from '../../../models/user'; import define from '../define'; import { fallback } from '../../../prelude/symbol'; -const nonnull = { $ne: null }; +const nonnull = { $ne: null as any }; export const meta = { requireCredential: false,