fix: parsing
This commit is contained in:
committed by
Andrew Bastin
parent
f428a21279
commit
5dcfa66c5d
@@ -109,5 +109,9 @@ function parseV1ExtURL(urlParams: Record<string, any>): HoppRESTRequest {
|
||||
resolvedReq.endpoint = urlParams.endpoint
|
||||
}
|
||||
|
||||
if (urlParams.body && typeof urlParams.body === "string") {
|
||||
resolvedReq.body = JSON.parse(urlParams.body)
|
||||
}
|
||||
|
||||
return resolvedReq
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user