diff options
author | Chocobozzz <me@florianbigard.com> | 2018-01-26 11:44:08 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-01-26 11:44:08 +0100 |
commit | d6e99e5322209a692cc3d870ddb5dcedbda69f2a (patch) | |
tree | ffb05860149ddb12140d9fdfa0740d3e03d1ed4e /server/models/activitypub | |
parent | 66ee325f573feeb61bc6c945151bf64dec6b9698 (diff) | |
download | PeerTube-d6e99e5322209a692cc3d870ddb5dcedbda69f2a.tar.gz PeerTube-d6e99e5322209a692cc3d870ddb5dcedbda69f2a.tar.zst PeerTube-d6e99e5322209a692cc3d870ddb5dcedbda69f2a.zip |
Add context on activitypub responses
Diffstat (limited to 'server/models/activitypub')
-rw-r--r-- | server/models/activitypub/actor.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/activitypub/actor.ts b/server/models/activitypub/actor.ts index 269149a31..c79bba96b 100644 --- a/server/models/activitypub/actor.ts +++ b/server/models/activitypub/actor.ts | |||
@@ -389,7 +389,7 @@ export class ActorModel extends Model<ActorModel> { | |||
389 | attribute: [], | 389 | attribute: [], |
390 | model: ActorFollowModel.unscoped(), | 390 | model: ActorFollowModel.unscoped(), |
391 | required: true, | 391 | required: true, |
392 | as: 'ActorFollowers', | 392 | as: 'ActorFollowing', |
393 | where: { | 393 | where: { |
394 | state: 'accepted', | 394 | state: 'accepted', |
395 | targetActorId: this.id | 395 | targetActorId: this.id |