Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
88
function
isTokenError(error) {
89
return
/token|登录|授权|401|10001|unauthorized/i.test(String(error && (error.message || error)));
90
}
91
92
class
Task {
93
constructor(account) {
Callers
1
signIn
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected