Skip to content
This repository was archived by the owner on Jan 27, 2022. It is now read-only.

Commit c6c29d9

Browse files
Fixing issue with updating work order receipt
1 parent 000af2f commit c6c29d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/avalon_sdk/work_order_receipt/work_order_receipt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def update_receipt(self, work_order_id, update_type,
135135
Returns:
136136
JSON RPC work order update receipt request of type dictionary
137137
"""
138-
data = update_data
138+
data = json.dumps(update_data)
139139
if update_type in [ReceiptCreateStatus.PROCESSED.value,
140140
ReceiptCreateStatus.COMPLETED.value]:
141141
# Work Order Receipt status is set to be completed or processed,

0 commit comments

Comments
 (0)