summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2017-02-27 16:31:33 +0900
committerAya Morisawa <AyaMorisawa4869@gmail.com>2017-02-27 17:39:24 +0900
commitd731acfd8e5643b4d1b309e0cc0e9ae524385176 (patch)
tree913d2150265e5544887418750067eeefe501e474 /src/api
parentFix typo: arleady -> already (diff)
downloadsharkey-d731acfd8e5643b4d1b309e0cc0e9ae524385176.tar.gz
sharkey-d731acfd8e5643b4d1b309e0cc0e9ae524385176.tar.bz2
sharkey-d731acfd8e5643b4d1b309e0cc0e9ae524385176.zip
Fix English grammatical error
Diffstat (limited to 'src/api')
-rw-r--r--src/api/endpoints/following/create.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/endpoints/following/create.js b/src/api/endpoints/following/create.js
index 87615c2708..953fd780de 100644
--- a/src/api/endpoints/following/create.js
+++ b/src/api/endpoints/following/create.js
@@ -52,7 +52,7 @@ module.exports = (params, user) =>
return rej('user not found');
}
- // Check already following
+ // Check if already following
const exist = await Following.findOne({
follower_id: follower._id,
followee_id: followee._id,