1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-16 10:20:05 +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 let weboutString: string
try { try {
weboutString = res.data.webout weboutString = res.data._webout
.split('>>weboutBEGIN<<')[1] .split('>>weboutBEGIN<<')[1]
.split('>>weboutEND<<')[0] .split('>>weboutEND<<')[0]
} catch (_) { } catch (_) {
weboutString = res?.data?.webout ?? '' weboutString = res?.data?._webout ?? ''
} }
let webout: string let webout: string