diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-28 14:45:17 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-28 14:45:17 +0100 |
commit | 0374b6b5cd685316f924874b2a3068bb345eb0dd (patch) | |
tree | 43731106158cd37cc616d0801fcc2681befc9708 /server/models/account | |
parent | 2f1756a03ccf3546f9bbcd98bc149e350d3d950a (diff) | |
download | PeerTube-0374b6b5cd685316f924874b2a3068bb345eb0dd.tar.gz PeerTube-0374b6b5cd685316f924874b2a3068bb345eb0dd.tar.zst PeerTube-0374b6b5cd685316f924874b2a3068bb345eb0dd.zip |
Cleanup server fixme
Diffstat (limited to 'server/models/account')
-rw-r--r-- | server/models/account/account-blocklist.ts | 2 | ||||
-rw-r--r-- | server/models/account/user-notification.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/models/account/account-blocklist.ts b/server/models/account/account-blocklist.ts index 6ebe32556..e2f66d733 100644 --- a/server/models/account/account-blocklist.ts +++ b/server/models/account/account-blocklist.ts | |||
@@ -80,7 +80,7 @@ export class AccountBlocklistModel extends Model<AccountBlocklistModel> { | |||
80 | attributes: [ 'accountId', 'id' ], | 80 | attributes: [ 'accountId', 'id' ], |
81 | where: { | 81 | where: { |
82 | accountId: { | 82 | accountId: { |
83 | [Op.in]: accountIds // FIXME: sequelize ANY seems broken | 83 | [Op.in]: accountIds |
84 | }, | 84 | }, |
85 | targetAccountId | 85 | targetAccountId |
86 | }, | 86 | }, |
diff --git a/server/models/account/user-notification.ts b/server/models/account/user-notification.ts index a05f30175..f649b8f95 100644 --- a/server/models/account/user-notification.ts +++ b/server/models/account/user-notification.ts | |||
@@ -363,7 +363,7 @@ export class UserNotificationModel extends Model<UserNotificationModel> { | |||
363 | where: { | 363 | where: { |
364 | userId, | 364 | userId, |
365 | id: { | 365 | id: { |
366 | [Op.in]: notificationIds // FIXME: sequelize ANY seems broken | 366 | [Op.in]: notificationIds |
367 | } | 367 | } |
368 | } | 368 | } |
369 | } | 369 | } |