mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-04 23:17:20 +08:00
fix rardar
This commit is contained in:
@@ -39,5 +39,5 @@ class Subscribe(Base):
|
||||
return db.query(Subscribe).filter(Subscribe.state == state).all()
|
||||
|
||||
@staticmethod
|
||||
def get_by_tmdbid(db: Session, tmdbid: str):
|
||||
def get_by_tmdbid(db: Session, tmdbid: int):
|
||||
return db.query(Subscribe).filter(Subscribe.tmdbid == tmdbid).first()
|
||||
|
||||
Reference in New Issue
Block a user