mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-22 15:08:07 +00:00
Fixes syntax
This commit is contained in:
parent
577bc18a47
commit
afdaa776e2
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ class User(View):
|
|||
request.user, privacy_levels=["public", "followers"]
|
||||
).filter(user=user, books__isnull=False)
|
||||
|
||||
for user_shelf in shelves[:3]:
|
||||
for user_shelf in shelves.all()[:3]:
|
||||
shelf_preview.append(
|
||||
{
|
||||
"name": user_shelf.name,
|
||||
|
|
Loading…
Reference in a new issue