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

Function isTokenError

wxapp/roki.js:88–90  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

86}
87
88function isTokenError(error) {
89 return /token|登录|授权|401|10001|unauthorized/i.test(String(error && (error.message || error)));
90}
91
92class Task {
93 constructor(account) {

Callers 1

signInMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected