A bit less debug with new API fetch pass

This commit is contained in:
Scott Idem
2025-05-07 19:54:20 -04:00
parent df3b455c18
commit 74cf6b7ca8

View File

@@ -96,7 +96,9 @@ export let get_object = async function get_object(
let fetch_method: any = fetch;
if (api_cfg.fetch) {
console.log('Using custom fetch function from api_cfg!!!');
if (log_lvl > 1) {
console.log('Using custom fetch function from api_cfg!!!');
}
fetch_method = api_cfg.fetch;
}