Skip to content

Commit

Permalink
fix: typo error
Browse files Browse the repository at this point in the history
  • Loading branch information
hyukychang committed Dec 8, 2024
1 parent a2de336 commit f1f1f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/core/serializers/article.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def get_side_articles(self, obj) -> dict:
after = None
elif from_view == "top":
before = articles.filter(created_at__lte=obj.created_at).first()
after = articles.filter(created__gte=obj.created_at).last()
after = articles.filter(created_at__gte=obj.created_at).last()
else:
before = articles.filter(created_at__lte=obj.created_at).first()
after = articles.filter(created_at__gte=obj.created_at).last()
Expand Down

0 comments on commit f1f1f34

Please sign in to comment.