diff options
Diffstat (limited to 'server/lib')
-rw-r--r-- | server/lib/activitypub/process/process-undo.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/activitypub/process/process-undo.ts b/server/lib/activitypub/process/process-undo.ts index 5d09423e1..610b800fb 100644 --- a/server/lib/activitypub/process/process-undo.ts +++ b/server/lib/activitypub/process/process-undo.ts | |||
@@ -10,7 +10,7 @@ async function processUndoActivity (activity: ActivityUndo) { | |||
10 | const following = await db.Account.loadByUrl(activityToUndo.object) | 10 | const following = await db.Account.loadByUrl(activityToUndo.object) |
11 | const accountFollow = await db.AccountFollow.loadByAccountAndTarget(follower.id, following.id) | 11 | const accountFollow = await db.AccountFollow.loadByAccountAndTarget(follower.id, following.id) |
12 | 12 | ||
13 | if (!accountFollow) throw new Error(`'Unknown account follow (${follower.id} -> ${following.id}.`) | 13 | if (!accountFollow) throw new Error(`'Unknown account follow ${follower.id} -> ${following.id}.`) |
14 | 14 | ||
15 | await accountFollow.destroy() | 15 | await accountFollow.destroy() |
16 | 16 | ||