From 6d9d6a677989c2ff163101351bb251e9818418cf Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Wed, 23 May 2018 15:46:20 +0900
Subject: [PATCH] oops

---
 src/server/api/endpoints/notes.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/server/api/endpoints/notes.ts b/src/server/api/endpoints/notes.ts
index 2a276a9582..6e226d108a 100644
--- a/src/server/api/endpoints/notes.ts
+++ b/src/server/api/endpoints/notes.ts
@@ -66,7 +66,7 @@ module.exports = (params) => new Promise(async (res, rej) => {
 	}
 
 	if (local) {
-		query._user.host = null;
+		query._user = { host: null };
 	}
 
 	if (reply != undefined) {