Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
request
Method · 0.95
run
Method · 0.95
Calls
2
loadCache
Method · 0.95
login
Method · 0.95
Tested by
no test coverage detected