mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2026-10-23 12:17:57 +00:00
Compare commits
17
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7c55f2a04 | ||
|
|
bcf308b6eb | ||
|
|
54748a6704 | ||
|
|
74e704570a | ||
|
|
136d0b732a | ||
|
|
b974cc2010 | ||
|
|
4fddc7b3e2 | ||
|
|
ed18758cc5 | ||
|
|
fb74c6c207 | ||
|
|
87cb49d34d | ||
|
|
4261b5ad29 | ||
|
|
6c0c3e0aca | ||
|
|
c6b220d6f2 | ||
|
|
b5b793dc88 | ||
|
|
1b5019e347 | ||
|
|
8c1e96a3df | ||
|
|
545fa8229b |
+1
-1
@@ -535,7 +535,7 @@ class UserNotificationAPIViewSet(viewsets.ModelViewSet):
|
||||
permission_classes = [IsAuthenticated]
|
||||
def list(self, request, *args, **kwargs):
|
||||
"""profile view"""
|
||||
queryset = self.queryset.filter(user=request.user)
|
||||
queryset = UserNotification.objects.filter(user=request.user)
|
||||
serializer = UserNotificationSerializer(queryset, many=True)
|
||||
return custom_response(None, serializer.data, response_status=status.HTTP_200_OK)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user