aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-27 13:44:40 +0200
committerChocobozzz <me@florianbigard.com>2022-07-27 13:52:13 +0200
commite3d6c6434f570f77c0532f86c82f78bcafb399ec (patch)
tree65d525f42c8cf55aba871093b3dd65964f5cd967 /server/models
parent073deef8862f462de5f159a57877ef415ebe4c69 (diff)
downloadPeerTube-e3d6c6434f570f77c0532f86c82f78bcafb399ec.tar.gz
PeerTube-e3d6c6434f570f77c0532f86c82f78bcafb399ec.tar.zst
PeerTube-e3d6c6434f570f77c0532f86c82f78bcafb399ec.zip
Add bulk action on following/followers
Diffstat (limited to 'server/models')
-rw-r--r--server/models/actor/actor-follow.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/actor/actor-follow.ts b/server/models/actor/actor-follow.ts
index 566bb5f31..127b29ad7 100644
--- a/server/models/actor/actor-follow.ts
+++ b/server/models/actor/actor-follow.ts
@@ -276,7 +276,7 @@ export class ActorFollowModel extends Model<Partial<AttributesOnly<ActorFollowMo
276 }) 276 })
277 } 277 }
278 278
279 const where: WhereAttributeHash<Attributes<ActorFollowModel>> = { actorId} 279 const where: WhereAttributeHash<Attributes<ActorFollowModel>> = { actorId }
280 if (state) where.state = state 280 if (state) where.state = state
281 281
282 const query: FindOptions<Attributes<ActorFollowModel>> = { 282 const query: FindOptions<Attributes<ActorFollowModel>> = {