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/drive/files/update.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/api/endpoints/drive/files/update.ts') diff --git a/src/api/endpoints/drive/files/update.ts b/src/api/endpoints/drive/files/update.ts index 595d501658..1a75a15daf 100644 --- a/src/api/endpoints/drive/files/update.ts +++ b/src/api/endpoints/drive/files/update.ts @@ -1,5 +1,3 @@ -'use strict'; - /** * Module dependencies */ @@ -17,9 +15,7 @@ import event from '../../../event'; * @param {any} user * @return {Promise} */ -module.exports = (params, user) => - new Promise(async (res, rej) => -{ +module.exports = (params, user) => new Promise(async (res, rej) => { // Get 'file_id' parameter const [fileId, fileIdErr] = it(params.file_id).expect.id().required().qed(); if (fileIdErr) return rej('invalid file_id param'); -- cgit v1.3.1-freya