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

Function isTokenError

wxapp/mfd.js:81–83  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

79}
80
81function isTokenError(error) {
82 return /登录|授权|memberId|401|openid|code|token/i.test(String(error && (error.message || error)));
83}
84
85class Task {
86 constructor(account) {

Callers 2

getMemberInfoMethod · 0.70
signInMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected