Updated export api service

This commit is contained in:
Erik Tiekstra
2021-11-08 10:37:48 +01:00
parent 9a563cb25e
commit f56d813baa

View File

@@ -23,7 +23,7 @@ export class ExportApiService {
}; };
return this.httpClient return this.httpClient
.post<Blob>(`${this._apiBaseUrl}/deltagare`, { params, responseType: 'blob' as 'json' }) .post<Blob>(`${this._apiBaseUrl}/deltagare`, { params, responseType: 'blob' })
.pipe( .pipe(
catchError((error: Error) => { catchError((error: Error) => {
throw new CustomError({ throw new CustomError({