From 89f16668e6f925acd81e51002864be145cf27ce9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 22 Jun 2019 04:17:02 +0900 Subject: [PATCH] Fix #4519 --- src/services/following/delete.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/following/delete.ts b/src/services/following/delete.ts index ad09f0e6d1..e3b5f8c414 100644 --- a/src/services/following/delete.ts +++ b/src/services/following/delete.ts @@ -22,7 +22,7 @@ export default async function(follower: User, followee: User, silent = false) { return; } - Followings.delete(following.id); + await Followings.delete(following.id); //#region Decrement following count Users.decrement({ id: follower.id }, 'followingCount', 1);