Skip to content

Commit

Permalink
fix: json parse err when http node send request (langgenius#11001)
Browse files Browse the repository at this point in the history
  • Loading branch information
litterGuy authored Nov 24, 2024
1 parent 6c8e208 commit ae3a2cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/core/workflow/nodes/http_request/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def _init_body(self):
self.content = self.variable_pool.convert_template(data[0].value).text
case "json":
json_string = self.variable_pool.convert_template(data[0].value).text
json_object = json.loads(json_string)
json_object = json.loads(json_string, strict=False)
self.json = json_object
# self.json = self._parse_object_contains_variables(json_object)
case "binary":
Expand Down

0 comments on commit ae3a2cb

Please sign in to comment.