fix: notification select related fields (#1646)
This commit is contained in:
parent
8a2cc6f919
commit
08a025f67c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue