We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 445d5d7 commit 2fa15b0Copy full SHA for 2fa15b0
packages/backend/src/apps/custom-api/actions/http-request/index.ts
@@ -97,7 +97,7 @@ const action: IRawAction = {
97
JSON.parse(variableValue as string)
98
// its a valid JSON, don't need to do anything extra
99
return variableValue
100
- } catch (e) {
+ } catch {
101
// not a valid JSON, remove the " from the start and end of the string
102
return JSON.stringify(variableValue).slice(1, -1)
103
}
0 commit comments