fix playwright proxy

This commit is contained in:
jxxghp
2023-06-16 08:25:20 +08:00
parent 6a5e117f0b
commit 0ce6e652a0
28 changed files with 108 additions and 33 deletions

View File

@ -28,3 +28,7 @@ class User(Base):
@staticmethod
def get_by_email(db: Session, email: str):
return db.query(User).filter(User.email == email).first()
@staticmethod
def delete_by_email(db: Session, email: str):
return db.query(User).filter(User.email == email).delete()