Axios should not longer be needed.

This commit is contained in:
Scott Idem
2025-05-07 16:34:39 -04:00
parent cdc4ee1af9
commit 86221e6aec
3 changed files with 133 additions and 72 deletions

View File

@@ -149,7 +149,7 @@ async function update_journal_entry() {
return;
}
log_lvl = 1;
// log_lvl = 1;
let data_kv: key_val = {
alert: tmp_entry_obj?.alert,
@@ -326,7 +326,7 @@ async function update_journal_entry() {
api_cfg: $ae_api,
journal_entry_id: $lq__journal_entry_obj?.journal_entry_id,
data_kv: data_kv,
log_lvl: 0,
log_lvl: 1,
});
updated_obj = true;
updated_idb = false;
@@ -353,7 +353,7 @@ async function change_journal_id() {
api_cfg: $ae_api,
journal_entry_id: $lq__journal_entry_obj?.journal_entry_id,
data_kv: data_kv,
log_lvl: 0,
log_lvl: log_lvl,
});
updated_obj = true;
updated_idb = false;
@@ -487,7 +487,7 @@ $effect(() => {
// }
async function handle_decrypt_string(encrypted_string: string, passcode: string) {
log_lvl = 1;
// log_lvl = 1;
if (log_lvl) {
console.log(`TEST: handle_decrypt_string: ${passcode}`, encrypted_string);
}
@@ -523,7 +523,7 @@ async function handle_decrypt_string(encrypted_string: string, passcode: string)
}
async function handle_encrypt_string(text_string: string, passcode: string) {
log_lvl = 1;
// log_lvl = 1;
if (log_lvl) {
console.log('TEST: handle_encrypt_string');
}