From 9c751877d1ed0d0677aff816169a1df7c34c6bf5 Mon Sep 17 00:00:00 2001 From: Saad Jutt Date: Wed, 23 Mar 2022 22:41:02 +0500 Subject: [PATCH] fix: execute api, webout as raw --- web/src/containers/Studio/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/containers/Studio/index.tsx b/web/src/containers/Studio/index.tsx index 7c9c658..5ef8013 100644 --- a/web/src/containers/Studio/index.tsx +++ b/web/src/containers/Studio/index.tsx @@ -54,11 +54,11 @@ const Studio = () => { let weboutString: string try { - weboutString = res.data.webout + weboutString = res.data._webout .split('>>weboutBEGIN<<')[1] .split('>>weboutEND<<')[0] } catch (_) { - weboutString = res?.data?.webout ?? '' + weboutString = res?.data?._webout ?? '' } let webout: string