summaryrefslogtreecommitdiff
path: root/src/api/endpoints/posts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-16 14:34:11 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-16 14:34:11 +0900
commit9f02d2d1b8f57e0adaab1f8068982606b0d1e71f (patch)
tree0f863a40063ab0bd8c15576adb7953c9596de3da /src/api/endpoints/posts
parentMerge pull request #173 from syuilo/greenkeeper/@types/request-0.0.40 (diff)
downloadsharkey-9f02d2d1b8f57e0adaab1f8068982606b0d1e71f.tar.gz
sharkey-9f02d2d1b8f57e0adaab1f8068982606b0d1e71f.tar.bz2
sharkey-9f02d2d1b8f57e0adaab1f8068982606b0d1e71f.zip
[API] Fix bugs
Diffstat (limited to 'src/api/endpoints/posts')
-rw-r--r--src/api/endpoints/posts/mentions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/posts/mentions.js b/src/api/endpoints/posts/mentions.js
index dbb69bd5ac..7377e3523b 100644
--- a/src/api/endpoints/posts/mentions.js
+++ b/src/api/endpoints/posts/mentions.js
@@ -19,7 +19,7 @@ module.exports = (params, user) =>
new Promise(async (res, rej) =>
{
// Get 'following' parameter
- const following = params.following === 'true';
+ const following = params.following;
// Get 'limit' parameter
let limit = params.limit;