mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
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