mirror of
https://github.com/r-ca/kidshift-web.git
synced 2024-10-25 16:34:01 +00:00
wip
This commit is contained in:
parent
a9bad46078
commit
53b1914c72
|
@ -1,13 +1,16 @@
|
|||
import { ActionTree } from 'vuex';
|
||||
import { RootStateInterface } from '../index';
|
||||
import { AccountStateInterface } from './state';
|
||||
import { getChildDetails } from 'src/api/apiService';
|
||||
|
||||
const actions: ActionTree<AccountStateInterface, RootStateInterface> = {
|
||||
logout(context) {
|
||||
context.commit('setToken', '');
|
||||
context.commit('setUsername', '');
|
||||
context.commit('setLoggedIn', false);
|
||||
}
|
||||
},
|
||||
fetchAccount(context) {
|
||||
}
|
||||
};
|
||||
|
||||
export default actions;
|
||||
|
|
Loading…
Reference in New Issue
Block a user