X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Factivitypub%2Fsend%2Fsend-undo.ts;h=33f1d4921b28cfdc733b375b6f4b1c20414b932d;hb=598edb8af1cc7e5ea3ead1ec9c96c4853b90be36;hp=e9ab5b3c59acaee8da7edce9fa7b2436313f4060;hpb=8d5e65349deebd499c0be10fe02d535a77d58ddb;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/activitypub/send/send-undo.ts b/server/lib/activitypub/send/send-undo.ts index e9ab5b3c5..33f1d4921 100644 --- a/server/lib/activitypub/send/send-undo.ts +++ b/server/lib/activitypub/send/send-undo.ts @@ -28,7 +28,7 @@ import { MVideoShare } from '../../../typings/models' -async function sendUndoFollow (actorFollow: MActorFollowActors, t: Transaction) { +function sendUndoFollow (actorFollow: MActorFollowActors, t: Transaction) { const me = actorFollow.ActorFollower const following = actorFollow.ActorFollowing @@ -118,10 +118,10 @@ function undoActivityData ( } async function sendUndoVideoRelatedActivity (options: { - byActor: MActor, - video: MVideoAccountLight, - url: string, - activity: ActivityFollow | ActivityLike | ActivityDislike | ActivityCreate | ActivityAnnounce, + byActor: MActor + video: MVideoAccountLight + url: string + activity: ActivityFollow | ActivityLike | ActivityDislike | ActivityCreate | ActivityAnnounce transaction: Transaction }) { const activityBuilder = (audience: ActivityAudience) => {