summaryrefslogtreecommitdiff
path: root/src/api/endpoints/posts
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2017-02-27 16:54:20 +0900
committerAya Morisawa <AyaMorisawa4869@gmail.com>2017-02-27 17:39:25 +0900
commit2107d89a844f80d106dc6902406990f1f8f0bd50 (patch)
treec705b438a98b5bb5638fd0d371301083c74dabe2 /src/api/endpoints/posts
parentFix English grammatical error (diff)
downloadsharkey-2107d89a844f80d106dc6902406990f1f8f0bd50.tar.gz
sharkey-2107d89a844f80d106dc6902406990f1f8f0bd50.tar.bz2
sharkey-2107d89a844f80d106dc6902406990f1f8f0bd50.zip
Fix typo: Fetxh -> Fetch
Diffstat (limited to 'src/api/endpoints/posts')
-rw-r--r--src/api/endpoints/posts/search.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/posts/search.js b/src/api/endpoints/posts/search.js
index b5ea114c18..2ee00b8991 100644
--- a/src/api/endpoints/posts/search.js
+++ b/src/api/endpoints/posts/search.js
@@ -114,7 +114,7 @@ async function byElasticsearch(res, rej, me, query, offset, max) {
const hits = response.hits.hits.map(hit => new mongo.ObjectID(hit._id));
- // Fetxh found posts
+ // Fetch found posts
const posts = await Post
.find({
_id: {