Reduce joins need to generate AP url

pull/5163/head
Chocobozzz 2022-07-25 11:26:27 +02:00
parent 3efa4da1fe
commit 0f58b11f5c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 2 deletions

View File

@ -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
}