typo fix
This commit is contained in:
parent
94cc0b87cd
commit
f12ddd7090
|
@ -33,13 +33,8 @@ export class StorageFileService {
|
||||||
download(id: Guid ): Observable<HttpResponse<Blob>> {
|
download(id: Guid ): Observable<HttpResponse<Blob>> {
|
||||||
const url = `${this.apiBase}/download/${id}`;
|
const url = `${this.apiBase}/download/${id}`;
|
||||||
|
|
||||||
const params = new BaseHttpParams();
|
|
||||||
params.interceptorContext = {
|
|
||||||
excludedInterceptors: [InterceptorType.JSONContentType, InterceptorType.ResponsePayload]
|
|
||||||
};
|
|
||||||
|
|
||||||
return this.http
|
return this.http.get(url, { responseType: 'blob', observe: 'response' });
|
||||||
.get(url, {params: params, responeType: 'blob', observe: 'response'});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
uploadTempFiles(item: File): Observable<StorageFile[]> {
|
uploadTempFiles(item: File): Observable<StorageFile[]> {
|
||||||
|
|
Loading…
Reference in New Issue