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

Method checkToken

wxapp/fej.js:206–214  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204 }
205
206 async checkToken() {
207 try {
208 const data = await this.request({ path: "/wscump/integral/user_points.json" });
209 this.points = data?.current_points ?? data?.real_points;
210 return true;
211 } catch (e) {
212 return false;
213 }
214 }
215
216 async showCheckinPage() {
217 try {

Callers 1

runMethod · 0.95

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected