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/web/app/common/scripts/api.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/web/app') diff --git a/src/web/app/common/scripts/api.js b/src/web/app/common/scripts/api.js index be72f863d6..3df54b645a 100644 --- a/src/web/app/common/scripts/api.js +++ b/src/web/app/common/scripts/api.js @@ -11,8 +11,8 @@ let pending = 0; * Send a request to API * @param {string|Object} i Credential * @param {string} endpoint Endpoint - * @param {Object} [data={}] Data - * @return {Promise} Response + * @param {any} [data={}] Data + * @return {Promise} Response */ module.exports = (i, endpoint, data = {}) => { if (++pending === 1) { -- cgit v1.2.3-freya