QuerySet typo

This commit is contained in:
Samuel Clay 2022-02-24 12:21:24 -05:00
parent 0528f91ada
commit 558ca3f34a

View file

@ -2670,6 +2670,7 @@ def _mark_story_as_unstarred(request):
if story_id:
starred_story = MStarredStory.objects(user_id=request.user.pk, story_guid=story_id)
if starred_story:
starred_story = starred_story[0]
story_hashes = [starred_story.story_hash]
else:
story_hashes = [story_id]