From d6e99e5322209a692cc3d870ddb5dcedbda69f2a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 26 Jan 2018 11:44:08 +0100 Subject: Add context on activitypub responses --- server/models/activitypub/actor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/models/activitypub/actor.ts') 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 { attribute: [], model: ActorFollowModel.unscoped(), required: true, - as: 'ActorFollowers', + as: 'ActorFollowing', where: { state: 'accepted', targetActorId: this.id -- cgit v1.2.3