mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-03-20 03:57:30 +08:00
Merge pull request #3309 from yxlimo/tmdbid-for-downloader
This commit is contained in:
@@ -53,7 +53,7 @@ class DownloadHistory(Base):
|
||||
@staticmethod
|
||||
@db_query
|
||||
def get_by_hash(db: Session, download_hash: str):
|
||||
return db.query(DownloadHistory).filter(DownloadHistory.download_hash == download_hash).first()
|
||||
return db.query(DownloadHistory).filter(DownloadHistory.download_hash == download_hash).last()
|
||||
|
||||
@staticmethod
|
||||
@db_query
|
||||
|
||||
Reference in New Issue
Block a user