Skip to content

Commit 2fa15b0

Browse files
committed
fix linting error
1 parent 445d5d7 commit 2fa15b0

File tree

1 file changed

+1
-1
lines changed
  • packages/backend/src/apps/custom-api/actions/http-request

1 file changed

+1
-1
lines changed

packages/backend/src/apps/custom-api/actions/http-request/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const action: IRawAction = {
9797
JSON.parse(variableValue as string)
9898
// its a valid JSON, don't need to do anything extra
9999
return variableValue
100-
} catch (e) {
100+
} catch {
101101
// not a valid JSON, remove the " from the start and end of the string
102102
return JSON.stringify(variableValue).slice(1, -1)
103103
}

0 commit comments

Comments
 (0)