(fileName: string)
| 921 | }; |
| 922 | |
| 923 | const downloadFile = async (fileName: string) => { |
| 924 | const link = await getFileLink(fileName); |
| 925 | if (!link) throw new Error(t("TXT_CODE_6d772765")); |
| 926 | window.open(link); |
| 927 | }; |
| 928 | |
| 929 | const stopDownloadFileFromUrl = async (taskId: string) => { |
| 930 | const { execute } = downloadFromUrlStopApi(); |
nothing calls this directly
no test coverage detected