Explorar el Código

fix: json parse err when http node send request (#11001)

tags/0.12.0
litterGuy hace 11 meses
padre
commit
ae3a2cb272
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      api/core/workflow/nodes/http_request/executor.py

+ 1
- 1
api/core/workflow/nodes/http_request/executor.py Ver fichero

@@ -108,7 +108,7 @@ class Executor:
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":

Cargando…
Cancelar
Guardar