1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-11 03:34:35 +00:00

fix: execute api, webout as raw

This commit is contained in:
Saad Jutt
2022-03-23 22:41:02 +05:00
parent 2204d54cd6
commit 9c751877d1

View File

@@ -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