Skip to content

Commit 5c1576a

Browse files
🎨 Auto format and update with pre-commit
1 parent 47cd7b1 commit 5c1576a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

backend/app/api/routes/items.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ def read_items(
2121
if current_user.is_superuser:
2222
count_statement = select(func.count()).select_from(Item)
2323
count = session.exec(count_statement).one()
24-
statement = select(Item).order_by(Item.created_at.desc()).offset(skip).limit(limit)
24+
statement = (
25+
select(Item).order_by(Item.created_at.desc()).offset(skip).limit(limit)
26+
)
2527
items = session.exec(statement).all()
2628
else:
2729
count_statement = (

0 commit comments

Comments
 (0)