Created
February 8, 2018 08:39
-
-
Save sbose78/e846318e1c7acdbd2281ccc2b76dd147 to your computer and use it in GitHub Desktop.
ngx-wit planner https://github.com/fabric8-services/fabric8-auth/blob/master/account/init_tenant.go#L41
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
addCollaborators(spaceId: string, users: User[]): Observable<Response> { | |
let url = this.spacesUrl + "/" + spaceId + '/collaborators'; | |
let payload = JSON.stringify({ data: users }); | |
return this.http | |
.post(url, payload, { headers: this.headers }) | |
.catch((error) => { | |
return this.handleError(error); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment