result tuple in waybill outside of loop
This commit is contained in:
@@ -121,7 +121,7 @@ def transaction_order_model(user_id: int, current_date: date) -> InfoRespronse:
|
||||
),
|
||||
)
|
||||
cursor.execute(_sql)
|
||||
result = tuple([order_id])
|
||||
result = tuple([order_id])
|
||||
if result is None:
|
||||
return InfoRespronse((), error_message="Заказ не был создан", status=False)
|
||||
clear()
|
||||
|
||||
Reference in New Issue
Block a user