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

Method checkToken

wxapp/yz9d.js:208–216  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

runMethod · 0.95

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected