Quick save before more big changes.
This commit is contained in:
@@ -5,7 +5,7 @@ import { error } from '@sveltejs/kit';
|
||||
|
||||
// import { api } from '$lib/api';
|
||||
// import { ae_loc, ae_sess, ae_api, slct, slct_trigger } from '$lib/ae_stores';
|
||||
import { core_func } from '$lib/ae_core/ae_core_functions';
|
||||
import { add_url_params, clean_headers } from '$lib/ae_core/core__api_helpers';
|
||||
import type { key_val } from '$lib/ae_stores';
|
||||
|
||||
import { PUBLIC_AE_API_PROTOCOL, PUBLIC_AE_API_SERVER, PUBLIC_AE_API_BAK_SERVER, PUBLIC_AE_API_PORT, PUBLIC_AE_API_PATH, PUBLIC_AE_API_SECRET_KEY, PUBLIC_AE_API_CRUD_SUPER_KEY, PUBLIC_AE_NO_ACCOUNT_ID, PUBLIC_AE_NO_ACCOUNT_ID_TOKEN } from '$env/static/public';
|
||||
@@ -144,7 +144,7 @@ export async function load({ fetch, params, parent, route, url }) { // params, r
|
||||
'use_alt_base': true,
|
||||
};
|
||||
|
||||
const api_url_str = core_func.add_url_params({
|
||||
const api_url_str = add_url_params({
|
||||
base_url: ae_api_init['base_url'],
|
||||
endpoint: api_endpoint,
|
||||
params: api_params,
|
||||
@@ -155,7 +155,7 @@ export async function load({ fetch, params, parent, route, url }) { // params, r
|
||||
'x-no-account-id': 'Nothing to See Here',
|
||||
}
|
||||
|
||||
headers = core_func.clean_headers({
|
||||
headers = clean_headers({
|
||||
headers: headers,
|
||||
log_lvl: log_lvl
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user