Subscribe: add new parameter for user Email in email compose function
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@54773 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
8ce7bf79f6
commit
4a0f4e79bb
|
@ -114,7 +114,7 @@ export class SubscribeComponent {
|
|||
} else {
|
||||
if(!this.subscribed){
|
||||
this.subscribed = true;
|
||||
this._emailService.sendEmail(this.properties.adminToolsAPIURL + "/notifyForNewSubscribers/" + this.communityId, Composer.composeEmailToInformManagers(this.community.title, this.communityId, this.community.managers)).subscribe(
|
||||
this._emailService.sendEmail(this.properties.adminToolsAPIURL + "/notifyForNewSubscribers/" + this.communityId, Composer.composeEmailToInformManagers(this.community.title, this.communityId, this.community.managers, email)).subscribe(
|
||||
res => {
|
||||
console.log("The email has been sent successfully!")
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue