use jsonify when returning a dataclass response w/ burnettk

This commit is contained in:
jasquat 2022-09-27 17:39:23 -04:00
parent 4e402988b3
commit e78f6b6332
1 changed files with 1 additions and 1 deletions

View File

@ -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: