mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: notification filtering
This commit is contained in:
parent
7554988164
commit
33e3354e4b
@ -49,7 +49,7 @@ class NotificationViewSet(BaseViewSet):
|
||||
|
||||
if snoozed == "true":
|
||||
notifications = notifications.filter(
|
||||
snoozed_till__lt=timezone.now(),
|
||||
Q(snoozed_till__lt=timezone.now()) | Q(snoozed_till__isnull=False)
|
||||
)
|
||||
|
||||
# Filter for archived or unarchive
|
||||
|
Loading…
Reference in New Issue
Block a user