From 0f58b11f5cace6e57cab5b4a18380eb297b43fe4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 25 Jul 2022 11:26:27 +0200 Subject: Reduce joins need to generate AP url --- server/lib/activitypub/url.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/lib/activitypub/url.ts b/server/lib/activitypub/url.ts index 2c32ba056..5cdac71bf 100644 --- a/server/lib/activitypub/url.ts +++ b/server/lib/activitypub/url.ts @@ -3,7 +3,7 @@ import { MAbuseFull, MAbuseId, MActor, - MActorFollowActors, + MActorFollow, MActorId, MActorUrl, MCommentId, @@ -92,7 +92,7 @@ function getLocalActorFollowActivityPubUrl (follower: MActor, following: MActorI return follower.url + '/follows/' + following.id } -function getLocalActorFollowAcceptActivityPubUrl (actorFollow: MActorFollowActors) { +function getLocalActorFollowAcceptActivityPubUrl (actorFollow: MActorFollow) { return WEBSERVER.URL + '/accepts/follows/' + actorFollow.id } -- cgit v1.2.3