Revision 58444
Added by Konstantina Galouni about 4 years ago
manage-subscribers.component.ts | ||
---|---|---|
229 | 229 |
if(!Session.isLoggedIn()){ |
230 | 230 |
this._router.navigate(['/user-info'], { queryParams: { "errorCode": LoginErrorCodes.NOT_VALID, "redirectUrl": this._router.url} }); |
231 | 231 |
} else { |
232 |
this.subRemove = this._subscribeService.unSubscribeToCommunity(this.communityId, this.selectedSubscriberEmail, this.properties.adminToolsAPIURL).subscribe(
|
|
232 |
this.subRemove = this._subscribeService.unSubscribeToCommunity(this.properties, this.communityId, this.selectedSubscriberEmail).subscribe(
|
|
233 | 233 |
result => { |
234 | 234 |
this.communitySubscribers = result; |
235 | 235 |
}, |
Also available in: Unified diff
[Trunk | Admin]:
1. community-edit-form.component.ts & manage-subscribers.component.ts &curator.component.ts & customization.component.ts & manage-user-notifications.component.ts & manage-user-notifications.service.ts:
create request path in service and "properties" as first parameter in methods (curator.service.ts, layout.service.ts, subscribe.service.ts).
2. manageContentProviders.service.ts & manageProjects.service.ts & manageZenodoCommunities.service.ts: Rename "communityId" to "pid".