From 8d8c7c9a5bf0476d939739c2a30aab52744c70f4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?syuilo=E2=AD=90=EF=B8=8F?= <Syuilotan@yahoo.co.jp>
Date: Fri, 5 May 2017 16:46:50 +0900
Subject: [PATCH] [Refactor] Fix indentation level

---
 src/api/endpoints/posts/create.ts | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/api/endpoints/posts/create.ts b/src/api/endpoints/posts/create.ts
index 9f313bc208..26faee4713 100644
--- a/src/api/endpoints/posts/create.ts
+++ b/src/api/endpoints/posts/create.ts
@@ -45,8 +45,8 @@ module.exports = (params, user, app) => new Promise(async (res, rej) => {
 				_id: mediaId,
 				user_id: user._id
 			}, {
-					_id: true
-				});
+				_id: true
+			});
 
 			if (entity === null) {
 				return rej('file not found');
@@ -79,10 +79,10 @@ module.exports = (params, user, app) => new Promise(async (res, rej) => {
 		const latestPost = await Post.findOne({
 			user_id: user._id
 		}, {
-				sort: {
-					_id: -1
-				}
-			});
+			sort: {
+				_id: -1
+			}
+		});
 
 		// 直近と同じRepost対象かつ引用じゃなかったらエラー
 		if (latestPost &&