From 65a3bac5431c1d11994e9ccff3163f18f5eb2600 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Sat, 26 May 2018 13:25:10 +0900
Subject: [PATCH] :v:

---
 src/models/user.ts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/models/user.ts b/src/models/user.ts
index 477bb232e..ff1ae57d7 100644
--- a/src/models/user.ts
+++ b/src/models/user.ts
@@ -169,9 +169,9 @@ export async function deleteUser(user: string | mongo.ObjectID | IUser) {
 	).map(x => deleteAccessToken(x)));
 
 	// このユーザーのNoteをすべて削除
-	//await sequential((
-	//	await Note.find({ userId: u._id })
-	//).map(x => () => deleteNote(x)));
+	await sequential((
+		await Note.find({ userId: u._id })
+	).map(x => () => deleteNote(x)));
 
 	// このユーザーのNoteReactionをすべて削除
 	await Promise.all((