From 0c141b6227d9d16e72698cbb98c0cefd8f4caeba Mon Sep 17 00:00:00 2001 From: Horea Porutiu Date: Tue, 5 Mar 2024 10:02:32 +0100 Subject: [PATCH] fixing syntax error --- examples/terms-modal-banner-s3/webassets/modal.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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() {