fix bug notif
This commit is contained in:
@@ -339,5 +339,5 @@ class NotificationListAPIView(APIView):
|
||||
serializer = self.serializer_class(paginated_notifs, many=True)
|
||||
return paginator.get_paginated_response(serializer.data)
|
||||
|
||||
def str_to_bool(val):
|
||||
return True if val and val == 'true' else False
|
||||
def str_to_bool(self, val):
|
||||
return True if val and val == 'read' else False
|
||||
|
||||
Reference in New Issue
Block a user