diff options
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) { |