ref: files e2e test

This commit is contained in:
Monta
2024-03-15 16:26:11 +01:00
committed by Anton Shepilov
parent 728dd3092b
commit 8494145e9d
3 changed files with 7 additions and 10 deletions
@@ -461,8 +461,8 @@ export class FileServiceImpl {
}
}
}
function getFilePath(entity: File): string {
export const getFilePath = (entity: File): string => {
return `${gr.platformServices.storage.getHomeDir()}/files/${entity.company_id}/${
entity.user_id || "anonymous"
}/${entity.id}`;
}
};