Test trigger

This commit is contained in:
KoalaSat 2024-06-28 16:02:15 +02:00 committed by koalasat
parent 0175e73ca1
commit 3de8b7e3cc

View File

@ -276,5 +276,4 @@ class Trade:
def change_order_status(self, status): def change_order_status(self, status):
# Change order expiry to now # Change order expiry to now
order = Order.objects.get(id=self.order_id) order = Order.objects.get(id=self.order_id)
order.status = status order.update_status(status)
order.save()