diff options
Diffstat (limited to 'server/models/user/user.ts')
-rw-r--r-- | server/models/user/user.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/models/user/user.ts b/server/models/user/user.ts index dc260e512..3fd359359 100644 --- a/server/models/user/user.ts +++ b/server/models/user/user.ts | |||
@@ -488,9 +488,7 @@ export class UserModel extends Model<Partial<AttributesOnly<UserModel>>> { | |||
488 | } | 488 | } |
489 | 489 | ||
490 | if (blocked !== undefined) { | 490 | if (blocked !== undefined) { |
491 | Object.assign(where, { | 491 | Object.assign(where, { blocked }) |
492 | blocked: blocked | ||
493 | }) | ||
494 | } | 492 | } |
495 | 493 | ||
496 | const query: FindOptions = { | 494 | const query: FindOptions = { |