mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-31 02:21:35 +00: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 ListNotificationSerializer(serializers.ModelSerializer):
|
||||||
class Meta:
|
class Meta:
|
||||||
model = Notification
|
model = Notification
|
||||||
fields = ("title", "description", "order_id", "order_status")
|
fields = ("title", "description", "order_id", "status")
|
||||||
|
|
||||||
|
|
||||||
class OrderPublicSerializer(serializers.ModelSerializer):
|
class OrderPublicSerializer(serializers.ModelSerializer):
|
||||||
|
@ -764,7 +764,7 @@ class NotificationsView(ListAPIView):
|
|||||||
data["title"] = str(notification.title)
|
data["title"] = str(notification.title)
|
||||||
data["description"] = str(notification.description)
|
data["description"] = str(notification.description)
|
||||||
data["order_id"] = notification.order.id
|
data["order_id"] = notification.order.id
|
||||||
data["order_status"] = notification.order.status
|
data["status"] = notification.order.status
|
||||||
|
|
||||||
notification_data.append(data)
|
notification_data.append(data)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user