From 265773655f019f51422dd95bdf960608c920a723 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Mon, 27 Feb 2017 16:53:43 +0900 Subject: [PATCH] Fix English grammatical error --- src/api/endpoints/posts/create.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/endpoints/posts/create.js b/src/api/endpoints/posts/create.js index d9d1c1f4b..0296c0e60 100644 --- a/src/api/endpoints/posts/create.js +++ b/src/api/endpoints/posts/create.js @@ -64,7 +64,7 @@ module.exports = (params, user, app) => return rej('too many media'); } - // Drop duplicates + // Drop duplications medias = medias.filter((x, i, s) => s.indexOf(x) == i); // Fetch files @@ -212,7 +212,7 @@ module.exports = (params, user, app) => // Trim choices poll.choices = poll.choices.map(choice => choice.trim()); - // Drop duplicates + // Drop duplications poll.choices = poll.choices.filter((x, i, s) => s.indexOf(x) == i); // 選択肢がひとつならエラー