mirror of https://github.com/Chocobozzz/PeerTube
Reduce joins need to generate AP url
parent
3efa4da1fe
commit
0f58b11f5c
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue