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

Method ensureLogin

wxapp/wps.js:342–346  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

340 }
341
342 async ensureLogin() {
343 this.loadCache();
344 if (this.cookies.kso_sid && this.cookies.wps_sid && this.secret) return;
345 await this.login();
346 }
347
348 async request(method, url, options = {}) {
349 await this.ensureLogin();

Callers 2

requestMethod · 0.95
runMethod · 0.95

Calls 2

loadCacheMethod · 0.95
loginMethod · 0.95

Tested by

no test coverage detected