mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-10-30 20:05:42 +08:00
fix(types): type transfer history projection
This commit is contained in:
@@ -430,7 +430,8 @@ class HistoryQueryService:
|
||||
record = await self._transfer_repository.async_get(history_id)
|
||||
if record is None:
|
||||
return None
|
||||
return TransferHistory.model_validate(record)
|
||||
history: TransferHistory = TransferHistory.model_validate(record)
|
||||
return history
|
||||
|
||||
async def get_transfers(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user