Skip to content

Commit

Permalink
fix(Backend:http_executor): 🔧 prevent splitting JSON data as v… (lang…
Browse files Browse the repository at this point in the history
  • Loading branch information
patryk20120 authored May 11, 2024
1 parent 13f4ed6 commit 2c1c660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/core/workflow/nodes/http_request/http_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def _init_template(self, node_data: HttpRequestNodeData, variable_pool: Optional
for kv in kv_paris:
if not kv.strip():
continue
kv = kv.split(':')
kv = kv.split(':', 1)
if len(kv) == 2:
body[kv[0].strip()] = kv[1]
elif len(kv) == 1:
Expand Down

0 comments on commit 2c1c660

Please sign in to comment.