diff --git a/components/Preview.tsx b/components/Preview.tsx index abb86e9..82cdc69 100644 --- a/components/Preview.tsx +++ b/components/Preview.tsx @@ -1684,12 +1684,8 @@ const Preview: React.FC = ({ body: JSON.stringify(request), }) .then((response) => response.json()) - .then((data) => { - if (data.status) { - return data.status === "true"; - } else { - return false; - } + .then(async (data) => { + return data.response.status; }); } catch (error) { console.error("ERROR:", "Failed to write Revision to CCIP2 backend");