forked from github/plane
fix: notification select related fields (#1646)
This commit is contained in:
parent
8a2cc6f919
commit
08a025f67c
@ -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")
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user