summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/notes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/endpoints/notes.ts')
-rw-r--r--src/server/api/endpoints/notes.ts2
1 files changed, 1 insertions, 1 deletions
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) {