Less debug. Code clean up. And it uses the Svelte fetch function!! I think it just works...
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user