summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/common/scripts')
-rw-r--r--src/web/app/common/scripts/api.js4
1 files changed, 2 insertions, 2 deletions
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<Object>} Response
+ * @param {any} [data={}] Data
+ * @return {Promise<any>} Response
*/
module.exports = (i, endpoint, data = {}) => {
if (++pending === 1) {