RED-6162 - tenant context
This commit is contained in:
parent
5e3c60885a
commit
6f6fb55866
@ -36,7 +36,7 @@ export class FileDownloadService extends EntitiesService<IDownloadStatus, Downlo
|
||||
async performDownload(status: DownloadStatus) {
|
||||
const token = await this.generateToken(status.storageId);
|
||||
const anchor = document.createElement('a');
|
||||
anchor.href = `${this._configService.values.API_URL}/async/download/with-ott/${token.value}?tenantId?=${encodeURIComponent(
|
||||
anchor.href = `${this._configService.values.API_URL}/async/download/with-ott/${token.value}?tenantId=${encodeURIComponent(
|
||||
this._tenantContext.getTenant(),
|
||||
)}`;
|
||||
anchor.download = status.filename;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user