From 86c60f045f07686868953cea059c25eeae8556bb Mon Sep 17 00:00:00 2001
From: Aya Morisawa <AyaMorisawa4869@gmail.com>
Date: Fri, 24 Feb 2017 00:19:12 +0900
Subject: [PATCH] Fix English grammatical error

---
 src/api/endpoints/posts/create.js | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/api/endpoints/posts/create.js b/src/api/endpoints/posts/create.js
index 25a3b5d4c..73bd72cf6 100644
--- a/src/api/endpoints/posts/create.js
+++ b/src/api/endpoints/posts/create.js
@@ -40,7 +40,7 @@ module.exports = (params, user, app) =>
 	let text = params.text;
 	if (text !== undefined && text !== null) {
 		if (typeof text != 'string') {
-			return rej('text is must be a string');
+			return rej('text must be a string');
 		}
 		text = text.trim();
 		if (text.length == 0) {
@@ -57,7 +57,7 @@ module.exports = (params, user, app) =>
 	let files = [];
 	if (medias !== undefined && medias !== null) {
 		if (!Array.isArray(medias)) {
-			return rej('media_ids is must be an array');
+			return rej('media_ids must be an array');
 		}
 
 		if (medias.length > maxMediaCount) {
@@ -74,7 +74,7 @@ module.exports = (params, user, app) =>
 			const media = medias[i];
 
 			if (typeof media != 'string') {
-				return rej('media id is must be a string');
+				return rej('media id must be a string');
 			}
 
 			// Validate id
@@ -105,7 +105,7 @@ module.exports = (params, user, app) =>
 	let repost = params.repost_id;
 	if (repost !== undefined && repost !== null) {
 		if (typeof repost != 'string') {
-			return rej('repost_id is must be a string');
+			return rej('repost_id must be a string');
 		}
 
 		// Validate id
@@ -155,7 +155,7 @@ module.exports = (params, user, app) =>
 	let replyTo = params.reply_to_id;
 	if (replyTo !== undefined && replyTo !== null) {
 		if (typeof replyTo != 'string') {
-			return rej('reply_to_id is must be a string');
+			return rej('reply_to_id must be a string');
 		}
 
 		// Validate id