From eb23be979c3578aecfa3afa05edc0a2e304cb2c4 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 23 May 2018 15:47:51 +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 6e226d108a..21946d1bd3 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) {