WIP: #7283 item_missing_e2e #1029

Draft
jsegarra wants to merge 190 commits from 7283_item_missing_e2e into dev
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 3d4f7d8860 - Show all commits

View File

@ -9,7 +9,7 @@ const token = getTokenMultimedia();
export async function downloadFile(id, model = 'dms', urlPath = '/downloadFile', url) { export async function downloadFile(id, model = 'dms', urlPath = '/downloadFile', url) {
const appUrl = (await getUrl('', 'lilium')).replace('/#/', ''); const appUrl = (await getUrl('', 'lilium')).replace('/#/', '');
const response = await axios.get( const response = await axios.get(
url ?? `${appUrl}/${model}/${id}${urlPath}?access_token=${token}`, url ?? `${appUrl}/api/${model}/${id}${urlPath}?access_token=${token}`,
{ responseType: 'blob' } { responseType: 'blob' }
); );