mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 17:08:03 +08:00
[autofix.ci] apply automated fixes
This commit is contained in:
committed by
Yansong Zhang
parent
38da19a729
commit
e3c1310afa
@ -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
|
||||
|
||||
Reference in New Issue
Block a user