Vincent GUFFON 3 years ago
parent
commit
66744069c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/Layout/Header/Notification.vue

+ 1 - 1
components/Layout/Header/Notification.vue

@@ -226,7 +226,7 @@ export default defineComponent({
     const download = (link: string) => {
       const url_parts: Array<string> = link.split('/api');
       if(profileAccess.originalAccess)
-        url_parts[0] = `api/${profileAccess.originalAccess}/${currentAccessId}`
+        url_parts[0] = `api/${profileAccess.originalAccess.id}/${currentAccessId}`
       else
         url_parts[0] = `api/${currentAccessId}`