use jsonify when returning a dataclass response w/ burnettk
This commit is contained in:
parent
4e402988b3
commit
e78f6b6332
|
@ -996,7 +996,7 @@ def script_unit_test_run(
|
|||
)
|
||||
|
||||
result = ScriptUnitTestRunner.run_test(spiff_task, script_unit_test_identifier)
|
||||
return Response(json.dumps(result), status=200, mimetype="application/json")
|
||||
return make_response(jsonify(result), 200)
|
||||
|
||||
|
||||
def get_file_from_request() -> Any:
|
||||
|
|
Loading…
Reference in New Issue