summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-09-10 03:39:00 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-09-10 03:39:00 +0900
commit23efaae85ebfa722fba132004a52c2444a614808 (patch)
tree25777ca39791e5e5d154e64d78071264d8ac2686 /src/server
parentFix #2675 (diff)
downloadsharkey-23efaae85ebfa722fba132004a52c2444a614808.tar.gz
sharkey-23efaae85ebfa722fba132004a52c2444a614808.tar.bz2
sharkey-23efaae85ebfa722fba132004a52c2444a614808.zip
lint
Diffstat (limited to 'src/server')
-rw-r--r--src/server/api/endpoints/notes/search_by_tag.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/endpoints/notes/search_by_tag.ts b/src/server/api/endpoints/notes/search_by_tag.ts
index fadebe4efe..11bfe34724 100644
--- a/src/server/api/endpoints/notes/search_by_tag.ts
+++ b/src/server/api/endpoints/notes/search_by_tag.ts
@@ -125,7 +125,7 @@ export default (params: any, me: ILocalUser) => new Promise(async (res, rej) =>
ids.forEach(id => ps.excludeUserIds.push(id));
}
- let q: any = {
+ const q: any = {
$and: [{
tagsLower: ps.tag.toLowerCase()
}],