aboutsummaryrefslogtreecommitdiff
path: root/src/site/store
diff options
context:
space:
mode:
authorZephyrrus <[email protected]>2020-07-08 04:00:12 +0300
committerZephyrrus <[email protected]>2020-07-08 04:00:12 +0300
commitad852de51a0d2dd5d29c08838d5a430c58849e74 (patch)
treea4ab9a720f66271c9eba10916061a9b06c43656e /src/site/store
parentrefactor: refactor grid to use vuex for every action (diff)
downloadhost.fuwn.me-ad852de51a0d2dd5d29c08838d5a430c58849e74.tar.xz
host.fuwn.me-ad852de51a0d2dd5d29c08838d5a430c58849e74.zip
chore: linter the entire project using the new rules
Diffstat (limited to 'src/site/store')
-rw-r--r--src/site/store/auth.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/site/store/auth.js b/src/site/store/auth.js
index 286d321..fcc051b 100644
--- a/src/site/store/auth.js
+++ b/src/site/store/auth.js
@@ -49,6 +49,8 @@ export const actions = {
} catch (e) {
dispatch('alert/set', { text: e.message, error: true }, { root: true });
}
+
+ return null;
},
async requestAPIKey({ commit, dispatch }) {
try {
@@ -59,6 +61,8 @@ export const actions = {
} catch (e) {
dispatch('alert/set', { text: e.message, error: true }, { root: true });
}
+
+ return null;
},
logout({ commit }) {
commit('logout');