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:
argiro.kokogiannaki 2019-02-14 09:56:11 +00:00
parent 8ce7bf79f6
commit 4a0f4e79bb
1 changed files with 1 additions and 1 deletions

View File

@ -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!")
},