Skip to content

Commit 8b3ddf2

Browse files
authored
hotfix (#103)
1 parent fe43b95 commit 8b3ddf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/scripts/api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ function create(form) {
143143
})
144144
.then(resultObj => {
145145
delete resultObj.new_obj_state
146-
_customEvent("rerum-result", `Created new object at ${resultObj["@id"] ?? MISSING}. See result below.`, resultObj)
146+
_customEvent("rerum-result", `Created new object at ${resultObj["@id"] ?? resultObj.id ?? "MISSING"}. See result below.`, resultObj)
147147
})
148148
.catch(err => {
149149
_customEvent("rerum-error", "There was an error trying to create object", {}, err)

0 commit comments

Comments
 (0)