mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-27 17:11:14 +01:00
fix: leftover handle var
This commit is contained in:
@@ -98,7 +98,7 @@ activitypubApi.unfollow = enabledCheck(async (caller, { type, id, actor }) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
await activitypub.send(type, id, [actor], {
|
await activitypub.send(type, id, [actor], {
|
||||||
id: `${nconf.get('url')}/${type}/${id}#activity/undo:follow/${handle}/${timestamp}`,
|
id: `${nconf.get('url')}/${type}/${id}#activity/undo:follow/${encodeURIComponent(actor)}/${timestamp}`,
|
||||||
type: 'Undo',
|
type: 'Undo',
|
||||||
object,
|
object,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user