MCPcopy Create free account
hub / github.com/bugy/script-server / logout

Function logout

web-src/src/common/store/auth.js:23–31  ·  view source on GitHub ↗
({})

Source from the content-addressed store, hash-verified

21 },
22
23 logout({}) {
24 return axiosInstance.post('logout')
25 .catch(error => {
26 const {status} = error.response;
27 if (status !== 405) {
28 throw error;
29 }
30 });
31 }
32 },
33 mutations: {
34 SET_CONFIG(state, {username, admin, enabled, canEditCode}) {

Callers

nothing calls this directly

Calls 1

postMethod · 0.45

Tested by

no test coverage detected