Skip to content

Commit b355410

Browse files
authored
Handle delete report config emitting a 204 (#63)
fix for delete report config 204
1 parent 3b50924 commit b355410

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/@seed/api/report-configuration/report-configuration.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export class ReportConfigurationService {
8181

8282
delete(orgId: number, id: number): Observable<unknown> {
8383
const url = `/api/v3/report_configurations/${id}/?organization_id=${orgId}`
84-
return this._httpClient.delete<unknown>(url).pipe(
84+
return this._httpClient.delete(url, { observe: 'response' }).pipe(
8585
tap(() => {
8686
this.list(orgId)
8787
this._snackBar.success('Deleted report configuration')

0 commit comments

Comments
 (0)