-
-
Save sharikovvladislav/041da37b87c1f74976799c548065fcf2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private getGroups(): Observable<any> { | |
// .... | |
return this.http.get(_url, options) | |
.map(response => { | |
var responseAsObject = response.json(); | |
console.log(responseAsObject); | |
return responseAsObject; | |
})' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sort of, even if I return the variable I can't map it to my array. But you helped clarify part of the problem so I have that to thank you :)