🐛 file storage leading slash removed (#243)
This commit is contained in:
@@ -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}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user