MCPcopy Index your code
hub / github.com/pythonstock/stock / resetToken

Function resetToken

frontend/src/store/modules/user.js:82–88  ·  view source on GitHub ↗
({ commit })

Source from the content-addressed store, hash-verified

80
81 // remove token
82 resetToken({ commit }) {
83 return new Promise(resolve => {
84 removeToken() // must remove token first
85 commit('RESET_STATE')
86 resolve()
87 })
88 }
89}
90
91export default {

Callers

nothing calls this directly

Calls 2

removeTokenFunction · 0.90
resolveFunction · 0.85

Tested by

no test coverage detected