mirror of
https://github.com/RoboSats/robosats.git
synced 2024-09-11 14:05:51 +03:00
Test fix
This commit is contained in:
parent
3de8b7e3cc
commit
9855e5d1f2
@ -493,7 +493,7 @@ class OrderDetailSerializer(serializers.ModelSerializer):
|
||||
class ListNotificationSerializer(serializers.ModelSerializer):
|
||||
class Meta:
|
||||
model = Notification
|
||||
fields = ("title", "description", "order_id", "order_status")
|
||||
fields = ("title", "description", "order_id", "status")
|
||||
|
||||
|
||||
class OrderPublicSerializer(serializers.ModelSerializer):
|
||||
|
@ -764,7 +764,7 @@ class NotificationsView(ListAPIView):
|
||||
data["title"] = str(notification.title)
|
||||
data["description"] = str(notification.description)
|
||||
data["order_id"] = notification.order.id
|
||||
data["order_status"] = notification.order.status
|
||||
data["status"] = notification.order.status
|
||||
|
||||
notification_data.append(data)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user