MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / removeCachedToken

Method removeCachedToken

wxapp/feihe.js:148–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

146 }
147
148 removeCachedToken() {
149 const cache = readCache();
150 if (cache[this.account]) {
151 delete cache[this.account];
152 writeCache(cache);
153 }
154 }
155
156 async request({ method = "GET", apiPath, query = {}, data = null, token = this.token, allowFail = false }) {
157 const options = {

Callers 1

runMethod · 0.95

Calls 2

readCacheFunction · 0.70
writeCacheFunction · 0.70

Tested by

no test coverage detected