diff --git a/examples/terms-modal-banner-s3/webassets/modal.html b/examples/terms-modal-banner-s3/webassets/modal.html index 1d0c98c08..4050a4157 100644 --- a/examples/terms-modal-banner-s3/webassets/modal.html +++ b/examples/terms-modal-banner-s3/webassets/modal.html @@ -140,12 +140,12 @@ mode: "cors", }; - const reqResponse = await fetch(url, reqOptions) - + const res = await fetch(url, reqOptions); + return { body: await res.text(), - status: res.status - } + status: res.status, + }; } async function acceptTerms() {