[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2025-09-26 06:44:39 +00:00 committed by Yansong Zhang
parent 38da19a729
commit e3c1310afa
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class BannerApi(Resource):
def get(self):
"""Get banner list."""
banners = (
db.session.query(ExporleBanner).filter(ExporleBanner.status == "enabled").order_by(ExporleBanner.sort).all()
db.session.query(ExporleBanner).where(ExporleBanner.status == "enabled").order_by(ExporleBanner.sort).all()
)
# Convert banners to serializable format