[Trunk | Admin]:

1. community-edit-form.component.ts: Use renamed method "subscribeToCommunityByEmail()" (insted of "subscribeToCommunity()") - subscribe.service.
2. manage-subscribers.component.ts: Use renamed method "unSubscribeToCommunityByEmail()" (instead of "unSubscribeToCommunity()") - subscribe.service.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-admin-portal/trunk@58479 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
konstantina.galouni 2020-04-10 14:34:47 +00:00
parent 856025a795
commit 8beb18c32b
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ export class CommunityEditFormComponent implements OnInit{
this.sendMailToNewManagers(newManagers);
this.informOldManagersForTheNewOnes();
for (let i = 0; i < newManagers.length; i++) {
this._subscribeService.subscribeToCommunity(this.properties, this.communityId, newManagers[i]).subscribe(
this._subscribeService.subscribeToCommunityByEmail(this.properties, this.communityId, newManagers[i]).subscribe(
res => {
// console.log(res);
}

View File

@ -229,7 +229,7 @@ export class ManageSubscribersComponent implements OnInit {
if(!Session.isLoggedIn()){
this._router.navigate(['/user-info'], { queryParams: { "errorCode": LoginErrorCodes.NOT_VALID, "redirectUrl": this._router.url} });
} else {
this.subRemove = this._subscribeService.unSubscribeToCommunity(this.properties, this.communityId, this.selectedSubscriberEmail).subscribe(
this.subRemove = this._subscribeService.unSubscribeToCommunityByEmail(this.properties, this.communityId, this.selectedSubscriberEmail).subscribe(
result => {
this.communitySubscribers = result;
},