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

Method checkToken

wxapp/nissin.js:206–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204 }
205
206 async checkToken() {
207 try {
208 await this.getSignInInfo(true);
209 return true;
210 } catch (e) {
211 return false;
212 }
213 }
214
215 async getUser() {
216 try {

Callers 1

runMethod · 0.95

Calls 1

getSignInInfoMethod · 0.95

Tested by

no test coverage detected