This commit is contained in:
jxxghp
2023-06-11 16:31:36 +08:00
parent 9836a5d6da
commit d4ae495b15
2 changed files with 2 additions and 2 deletions

View File

@ -34,4 +34,4 @@ class Site(Base):
@staticmethod
def get_actives(db: Session):
return db.query(Site).filter(Site.is_active is True).all()
return db.query(Site).filter(Site.is_active == 1).all()