mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-08-28 19:47:41 +08:00
fix playwright proxy
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user