feat: fix issue with the pre-request envs
This commit is contained in:
@@ -307,7 +307,8 @@ watch(loading, () => {
|
||||
const newSendRequest = async () => {
|
||||
loading.value = true
|
||||
|
||||
const streamResult = await runRESTRequest$()
|
||||
// Double calling is because the function returns a TaskEither than should be executed
|
||||
const streamResult = await runRESTRequest$()()
|
||||
|
||||
// TODO: What if stream fetching failed (script execution errors ?) (isLeft)
|
||||
if (isRight(streamResult)) {
|
||||
|
||||
Reference in New Issue
Block a user