From 41600961dfa0a1916f608facac9fb80372943fdd Mon Sep 17 00:00:00 2001 From: Bryan Haberberger Date: Tue, 29 Jul 2025 13:40:31 -0500 Subject: [PATCH] hotfix --- public/scripts/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/api.js b/public/scripts/api.js index ce165f0..b05a6d9 100644 --- a/public/scripts/api.js +++ b/public/scripts/api.js @@ -143,7 +143,7 @@ function create(form) { }) .then(resultObj => { delete resultObj.new_obj_state - _customEvent("rerum-result", `Created new object at ${resultObj["@id"] ?? MISSING}. See result below.`, resultObj) + _customEvent("rerum-result", `Created new object at ${resultObj["@id"] ?? resultObj.id ?? "MISSING"}. See result below.`, resultObj) }) .catch(err => { _customEvent("rerum-error", "There was an error trying to create object", {}, err)