From 3c1b92baa1ac15c23fe63e2f50739105252ca516 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 4 Mar 2017 04:28:38 +0900 Subject: Follow linter --- src/api/endpoints/posts/replies.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/api/endpoints/posts/replies.ts') diff --git a/src/api/endpoints/posts/replies.ts b/src/api/endpoints/posts/replies.ts index 3f448d1632..378ba7ec2b 100644 --- a/src/api/endpoints/posts/replies.ts +++ b/src/api/endpoints/posts/replies.ts @@ -1,5 +1,3 @@ -'use strict'; - /** * Module dependencies */ @@ -14,9 +12,7 @@ import serialize from '../../serializers/post'; * @param {any} user * @return {Promise} */ -module.exports = (params, user) => - new Promise(async (res, rej) => -{ +module.exports = (params, user) => new Promise(async (res, rej) => { // Get 'post_id' parameter const [postId, postIdErr] = it(params.post_id, 'id', true); if (postIdErr) return rej('invalid post_id param'); -- cgit v1.2.3-freya