()
| 266 | } |
| 267 | |
| 268 | removeLoginCache() { |
| 269 | const cache = readCache(); |
| 270 | if (cache[this.cacheKey]) { |
| 271 | delete cache[this.cacheKey].token; |
| 272 | delete cache[this.cacheKey].userId; |
| 273 | writeCache(cache); |
| 274 | } |
| 275 | } |
| 276 | |
| 277 | loadCache() { |
| 278 | const cached = this.getCached(); |
no test coverage detected