diff options
| author | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2017-12-21 07:45:45 +0900 |
|---|---|---|
| committer | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2017-12-21 07:45:45 +0900 |
| commit | b2223c19e18ee5884ea13ec0d33f3ddb1ac9ea27 (patch) | |
| tree | d79afe640229abe6d76ba31480598b082cc8cb3a /src/api/endpoints/posts | |
| parent | v3424 (diff) | |
| download | sharkey-b2223c19e18ee5884ea13ec0d33f3ddb1ac9ea27.tar.gz sharkey-b2223c19e18ee5884ea13ec0d33f3ddb1ac9ea27.tar.bz2 sharkey-b2223c19e18ee5884ea13ec0d33f3ddb1ac9ea27.zip | |
Fix bug
Diffstat (limited to 'src/api/endpoints/posts')
| -rw-r--r-- | src/api/endpoints/posts/search.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/posts/search.ts b/src/api/endpoints/posts/search.ts index 21e9134d38..a3c44d09ce 100644 --- a/src/api/endpoints/posts/search.ts +++ b/src/api/endpoints/posts/search.ts @@ -85,7 +85,7 @@ async function byNative(res, rej, me, text, userId, following, reply, repost, me $and: [] }; - const push = q.$and.push; + const push = x => q.$and.push(x); if (text) { push({ |