(origin)
| 287 | } |
| 288 | |
| 289 | function openAccountsPageSoon(origin) { |
| 290 | const accountsUrl = `${origin}/admin/accounts`; |
| 291 | if (location.href === accountsUrl || location.pathname.startsWith('/admin/accounts')) { |
| 292 | return; |
| 293 | } |
| 294 | setTimeout(() => { |
| 295 | try { |
| 296 | location.replace(accountsUrl); |
| 297 | } catch { } |
| 298 | }, 500); |
| 299 | } |
| 300 | |
| 301 | async function step1_generateOpenAiAuthUrl(payload = {}, options = {}) { |
| 302 | const { report = true } = options; |
no outgoing calls
no test coverage detected