Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
fix(spaces): remove response from spacesDelete
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuawilson committed Apr 19, 2017
1 parent c449a7e commit b2fe6ab
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/app/spaces/space.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,7 @@ export class SpaceService {
let url = `${this.spacesUrl}/${space.id}`;
return this.http
.delete(url, { headers: this.headers })
.map(response => {
return response.json().data as Space;
})
.switchMap(val => {
return this.resolveOwner(val);
})
.map( () => {})
.catch((error) => {
return this.handleError(error);
});
Expand Down

0 comments on commit b2fe6ab

Please sign in to comment.