Less debug. Code clean up. And it uses the Svelte fetch function!! I think it just works...

This commit is contained in:
Scott Idem
2025-05-07 19:49:27 -04:00
parent 7af1d41ff3
commit df3b455c18
7 changed files with 47 additions and 22 deletions

View File

@@ -185,6 +185,8 @@ export async function load({ fetch, params, parent, route, url }) { // params, r
ae_acct.account_id = json_data.account_id_random;
ae_api_init['account_id'] = json_data.account_id_random;
ae_api_init['fetch'] = fetch;
// ae_api_init['fetch'] = null;
ae_api_init['headers']['x-account-id'] = json_data.account_id_random;
ae_api_init['headers']['x-no-account-id'] = null;