More fixes related to id_random vs id.

This commit is contained in:
Scott Idem
2025-11-20 16:56:13 -05:00
parent f164caf65f
commit a1a33f794d
5 changed files with 78 additions and 78 deletions

View File

@@ -182,7 +182,7 @@
onclick={() => {
if (
!confirm(
`Are you sure you want to delete this hosted file?\n${hosted_file_obj.filename} [${hosted_file_obj.hosted_file_id_random}]`
`Are you sure you want to delete this hosted file?\n${hosted_file_obj.filename} [${hosted_file_obj.hosted_file_id}]`
)
) {
return false;
@@ -191,7 +191,7 @@
ae_promises.delete__hosted_file_obj =
core_func.delete_ae_obj_id__hosted_file({
api_cfg: $ae_api,
hosted_file_id: hosted_file_obj.hosted_file_id_random,
hosted_file_id: hosted_file_obj.hosted_file_id,
link_to_type: link_to_type,
link_to_id: link_to_id,
rm_orphan: true,