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

Method checkToken

wxapp/casetify.js:200–207  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

198 }
199
200 async checkToken() {
201 try {
202 await this.getCampaignId(true);
203 return true;
204 } catch (e) {
205 return false;
206 }
207 }
208
209 async getCampaignId(silent = false) {
210 if (this.campaignId) return this.campaignId;

Callers 1

runMethod · 0.95

Calls 1

getCampaignIdMethod · 0.95

Tested by

no test coverage detected