|
|
@@ -5,7 +5,7 @@ import type File from '~/models/Core/File'
|
|
|
export const useDownloadFile = async (file: File) => {
|
|
|
const { apiRequestService } = useAp2iRequestService()
|
|
|
|
|
|
- const downloadUrl = `api/download/${file.id}`
|
|
|
+ const downloadUrl = `api/file/download/${file.id}`
|
|
|
|
|
|
const response = await apiRequestService.get(downloadUrl)
|
|
|
|