1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-15 18:00:05 +00:00

Merge pull request #104 from sasjs/webout-raw

fix: execute api, webout as raw
This commit is contained in:
Muhammad Saad
2022-03-23 22:47:07 +05:00
committed by GitHub

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