diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-13 11:58:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-13 12:14:26 +0200 |
commit | ba2684ceddf9b76312635b9cddc6bf6975ce436a (patch) | |
tree | d7c9618b9a6f632029d809d8bf342adc26c85cc8 /server/models/actor | |
parent | e45dd87b93c621c606415f9e8d0d381de6d7a2d7 (diff) | |
download | PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.gz PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.zst PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.zip |
Fix lint
Diffstat (limited to 'server/models/actor')
-rw-r--r-- | server/models/actor/actor-follow.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/actor/actor-follow.ts b/server/models/actor/actor-follow.ts index af1d85e9f..8870bec05 100644 --- a/server/models/actor/actor-follow.ts +++ b/server/models/actor/actor-follow.ts | |||
@@ -218,7 +218,7 @@ export class ActorFollowModel extends Model<Partial<AttributesOnly<ActorFollowMo | |||
218 | const query = { | 218 | const query = { |
219 | where: { | 219 | where: { |
220 | actorId, | 220 | actorId, |
221 | targetActorId: targetActorId | 221 | targetActorId |
222 | }, | 222 | }, |
223 | include: [ | 223 | include: [ |
224 | { | 224 | { |
@@ -372,7 +372,7 @@ export class ActorFollowModel extends Model<Partial<AttributesOnly<ActorFollowMo | |||
372 | }) { | 372 | }) { |
373 | const { actorId, start, count, sort } = options | 373 | const { actorId, start, count, sort } = options |
374 | const where = { | 374 | const where = { |
375 | actorId: actorId | 375 | actorId |
376 | } | 376 | } |
377 | 377 | ||
378 | if (options.search) { | 378 | if (options.search) { |