Formatted files

This commit is contained in:
ITQ
2024-03-16 13:31:48 +03:00
parent dc67db8e8f
commit e17bef4122
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -60,7 +60,7 @@ class MyFeedListApiView(ListAPIView):
offset = serializer.validated_data.get("offset")
return self.request.user.posts.order_by("-createdAt").all()[
offset: offset + limit
offset : offset + limit
]
@@ -90,7 +90,7 @@ class UserFeedListApiView(ListAPIView):
limit = serializer.validated_data.get("limit")
offset = serializer.validated_data.get("offset")
return user.posts.order_by("-createdAt").all()[offset: offset + limit]
return user.posts.order_by("-createdAt").all()[offset : offset + limit]
class LikePostApiView(APIView):