Revision 59303
Added by Konstantina Galouni over 3 years ago
subscribe.service.ts | ||
---|---|---|
16 | 16 |
let url = properties.adminToolsAPIURL + "/community/" + pid + "/is-subscriber/"; |
17 | 17 |
this.http.get<boolean>(url, CustomOptions.getAuthOptionsWithBody()).subscribe((isSubscribed) => { |
18 | 18 |
this.isSubscribedSubject.next(isSubscribed); |
19 |
}, error => { |
|
20 |
this.isSubscribedSubject.error(error); |
|
19 | 21 |
}); |
20 | 22 |
} |
21 | 23 |
|
Also available in: Unified diff
[use-UoaAdminToolsLibrary | Library]: Merge trunk into branch.