From 79f34b89842941879e26b7c03a3e34cb06a12a2a Mon Sep 17 00:00:00 2001 From: pablohashescobar Date: Tue, 11 Jul 2023 16:12:07 +0530 Subject: [PATCH] dev: fix watching notification --- 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 568da4aec..b61174cee 100644 --- a/apiserver/plane/api/views/notification.py +++ b/apiserver/plane/api/views/notification.py @@ -62,7 +62,7 @@ class NotificationViewSet(BaseViewSet): # Subscribed issues if type == "watching": issue_ids = IssueSubscriber.objects.filter( - workspace__slug=slug, subsriber_id=request.user.id + workspace__slug=slug, subscriber_id=request.user.id ).values_list("issue_id", flat=True) notifications = notifications.filter(entity_identifier__in=issue_ids)