From ac8eb94a27905a1bcac9fea445b41e5866cf173f Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Wed, 1 Mar 2017 17:37:01 +0900 Subject: Use any instead of Object --- src/api/endpoints/i/update.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/api/endpoints/i/update.js') diff --git a/src/api/endpoints/i/update.js b/src/api/endpoints/i/update.js index cd8f9b49d8..fdb89644a7 100644 --- a/src/api/endpoints/i/update.js +++ b/src/api/endpoints/i/update.js @@ -13,11 +13,11 @@ import config from '../../../conf'; /** * Update myself * - * @param {Object} params - * @param {Object} user - * @param {Object} _ + * @param {any} params + * @param {any} user + * @param {any} _ * @param {boolean} isSecure - * @return {Promise} + * @return {Promise} */ module.exports = async (params, user, _, isSecure) => new Promise(async (res, rej) => -- cgit v1.3.1-freya