Download attachments with original filenames

This commit is contained in:
Denis
2024-07-30 23:48:15 +03:00
parent 305ce29ebb
commit 832cdacebf
3 changed files with 23 additions and 6 deletions

View File

@@ -96,10 +96,11 @@ export class AttachmentsApplication {
/**
* Retrieves the presigned url of the given attachment key.
* @param {number} tenantId
* @param {string} key
* @returns {Promise<string>}
*/
public getPresignedUrl(key: string): Promise<string> {
return this.getPresignedUrlService.getPresignedUrl(key);
public getPresignedUrl(tenantId: number, key: string): Promise<string> {
return this.getPresignedUrlService.getPresignedUrl(tenantId, key);
}
}