mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-23 13:18:35 +00:00
Fixing a stupid mistake.
This commit is contained in:
parent
197b75c6bf
commit
f4f3842059
@ -293,7 +293,7 @@ class WorkflowService(object):
|
|||||||
# jsonify, and de-jsonify the data to mimic how data will be returned from the front end for forms and assures
|
# jsonify, and de-jsonify the data to mimic how data will be returned from the front end for forms and assures
|
||||||
# we aren't generating something that can't be serialized.
|
# we aren't generating something that can't be serialized.
|
||||||
try:
|
try:
|
||||||
form_data_string = app.json_encoder().encode(o=task_api.data)
|
form_data_string = app.json_encoder().encode(o=form_data)
|
||||||
except TypeError as te:
|
except TypeError as te:
|
||||||
raise ApiError.from_task(code='serialize_error',
|
raise ApiError.from_task(code='serialize_error',
|
||||||
message=f'Something cannot be serialized. Message is: {te}',
|
message=f'Something cannot be serialized. Message is: {te}',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user