summaryrefslogtreecommitdiffstats
path: root/settings/src/store/api.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/src/store/api.js')
-rw-r--r--settings/src/store/api.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/src/store/api.js b/settings/src/store/api.js
index ef1ba4e56d6..b0e59918bb1 100644
--- a/settings/src/store/api.js
+++ b/settings/src/store/api.js
@@ -37,6 +37,8 @@ export default {
* .then((response) => {API success})
* .catch((error) => {throw error;});
* }).catch((error) => {requireAdmin OR API failure});
+ *
+ * @returns {Promise}
*/
requireAdmin() {
return new Promise(function(resolve, reject) {