From 08a025f67cd0a8b79623e1272816bf2bfe16e218 Mon Sep 17 00:00:00 2001 From: Nikhil <118773738+pablohashescobar@users.noreply.github.com> Date: Mon, 24 Jul 2023 14:39:25 +0530 Subject: [PATCH] fix: notification select related fields (#1646) --- apiserver/plane/api/views/notification.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/plane/api/views/notification.py b/apiserver/plane/api/views/notification.py index 393a3c9ad..faf9df816 100644 --- a/apiserver/plane/api/views/notification.py +++ b/apiserver/plane/api/views/notification.py @@ -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") )