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

Commit

Permalink
fix(spaces): get the correct part of http response (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
ppitonak authored and joshuawilson committed Jan 9, 2019
1 parent ffef6b0 commit f96226b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/spaces/space.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export class SpaceService {
// Extract links from JSON API response.
// and set the nextLink, if server indicates more resources
// in paginated collection through a 'next' link.
const links: any = response.data.links;
const links: any = response.links;
if (links && links.hasOwnProperty('next')) {
this.nextLink = links.next;
} else {
Expand Down

0 comments on commit f96226b

Please sign in to comment.