🐛 file storage leading slash removed (#243)

This commit is contained in:
Montassar Ghanmy
2023-11-07 13:45:12 +01:00
committed by GitHub
parent 650f394b6f
commit d51c9bdbd2
2 changed files with 2 additions and 2 deletions
@@ -311,7 +311,7 @@ export class FileServiceImpl {
}
function getFilePath(entity: File): string {
return `/${gr.platformServices.storage.getHomeDir()}/files/${entity.company_id}/${
return `${gr.platformServices.storage.getHomeDir()}/files/${entity.company_id}/${
entity.user_id || "anonymous"
}/${entity.id}`;
}