From fd244720a747fb434635790b0d2f0ce46fddc958 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Wed, 25 Mar 2026 13:17:25 -0400 Subject: [PATCH] Update to AE API v3 for the hosted file hash check. --- src/lib/ae_core/core__check_hosted_file_obj_w_hash.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ae_core/core__check_hosted_file_obj_w_hash.ts b/src/lib/ae_core/core__check_hosted_file_obj_w_hash.ts index 5d324211..2bbaf691 100644 --- a/src/lib/ae_core/core__check_hosted_file_obj_w_hash.ts +++ b/src/lib/ae_core/core__check_hosted_file_obj_w_hash.ts @@ -1,7 +1,7 @@ import type { key_val } from '$lib/stores/ae_stores'; import { api } from '$lib/api/api'; -// Updated 2024-10-02 +// Updated 2026-03-25 export async function check_hosted_file_obj_w_hash({ api_cfg, hosted_file_hash, @@ -19,7 +19,7 @@ export async function check_hosted_file_obj_w_hash({ }) { console.log('*** stores_event_api.js: check_hosted_file_obj_w_hash() ***'); - const endpoint = `/hosted_file/hash/${hosted_file_hash}`; + const endpoint = `/v3/action/hosted_file/hash/${hosted_file_hash}`; if (check_for_local) { params['check_for_local'] = true; }