This commit is contained in:
Efstratios Giannopoulos 2024-04-11 18:22:33 +03:00
parent 94cc0b87cd
commit f12ddd7090
1 changed files with 1 additions and 6 deletions

View File

@ -33,13 +33,8 @@ export class StorageFileService {
download(id: Guid ): Observable<HttpResponse<Blob>> {
const url = `${this.apiBase}/download/${id}`;
const params = new BaseHttpParams();
params.interceptorContext = {
excludedInterceptors: [InterceptorType.JSONContentType, InterceptorType.ResponsePayload]
};
return this.http
.get(url, {params: params, responeType: 'blob', observe: 'response'});
return this.http.get(url, { responseType: 'blob', observe: 'response' });
}
uploadTempFiles(item: File): Observable<StorageFile[]> {