fix: notification select related fields (#1646)

This commit is contained in:
Nikhil
2023-07-24 14:39:25 +05:30
committed by GitHub
parent 8a2cc6f919
commit 08a025f67c

View File

@@ -42,7 +42,7 @@ class NotificationViewSet(BaseViewSet, BasePaginator):
Notification.objects.filter(
workspace__slug=slug, receiver_id=request.user.id
)
.select_related("workspace", "project," "triggered_by", "receiver")
.select_related("workspace", "project", "triggered_by", "receiver")
.order_by("snoozed_till", "-created_at")
)