Skip to content

Commit

Permalink
fix bug #27 offline_task_retry
Browse files Browse the repository at this point in the history
  • Loading branch information
Quan666 committed May 16, 2024
1 parent dc64570 commit 44913d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pikpakapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ async def offline_task_retry(self, task_id: str) -> Dict[str, Any]:
"id": task_id,
}
try:
result = await self._request_get(list_url, list_data)
result = await self._request_post(list_url, list_data)
return result
except Exception as e:
raise PikpakException(f"重试离线下载任务失败: {task_id}. {e}")
Expand Down

0 comments on commit 44913d7

Please sign in to comment.