Skip to content

Commit

Permalink
fix: missing delete_policy param
Browse files Browse the repository at this point in the history
  • Loading branch information
xhofe committed Nov 24, 2023
1 parent e254e33 commit 1786327
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/pages/home/toolbar/OfflineDownload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ export const OfflineDownload = () => {
</Box>
}
onSubmit={async (urls) => {
const resp = await ok(pathname(), urls.split("\n"), tool())
const resp = await ok(
pathname(),
urls.split("\n"),
tool(),
deletePolicy(),
)
handleRespWithNotifySuccess(resp, () => {
onClose()
})
Expand Down

0 comments on commit 1786327

Please sign in to comment.