From 61b2bf379d7901d119dc2b0956b09109f34176d5 Mon Sep 17 00:00:00 2001 From: Markus Legner Date: Tue, 18 Jun 2024 18:32:38 +0200 Subject: [PATCH] fix(examples): use new publisher response format in JS example --- examples/javascript/blob_upload_download_webapi.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/javascript/blob_upload_download_webapi.html b/examples/javascript/blob_upload_download_webapi.html index ee2344b8..a4216a8c 100644 --- a/examples/javascript/blob_upload_download_webapi.html +++ b/examples/javascript/blob_upload_download_webapi.html @@ -98,10 +98,10 @@ } else if ("newlyCreated" in storage_info) { info = { status: "Newly created", - blobId: storage_info.newlyCreated.blobId, - endEpoch: storage_info.newlyCreated.storage.endEpoch, + blobId: storage_info.newlyCreated.blobObject.blobId, + endEpoch: storage_info.newlyCreated.blobObject.storage.endEpoch, suiRefType: "Associated Sui Object", - suiRef: storage_info.newlyCreated.id, + suiRef: storage_info.newlyCreated.blobObject.id, suiBaseUrl: SUI_VIEW_OBJECT_URL, }; } else {