loginAPI.js change mathods to actions

This commit is contained in:
ogerly 2021-02-25 15:15:39 +01:00
parent 054a6f9d0a
commit fb0a850057

View File

@ -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);
},