diff --git a/frontend/src/mixins/loginAPI.js b/frontend/src/mixins/loginAPI.js index 69c5e1441..d102f381d 100644 --- a/frontend/src/mixins/loginAPI.js +++ b/frontend/src/mixins/loginAPI.js @@ -3,7 +3,7 @@ const LOGIN_API_URL = 'http://localhost/login_api/' // define a mixin object const loginAPI = { - mutations: { + actions: { login: async () => { return axios.post(LOGIN_API_URL + 'unsecureLogin', data); },