Project

General

Profile

« Previous | Next » 

Revision 54773

Subscribe: add new parameter for user Email in email compose function

View differences:

modules/uoa-connect-portal/trunk/src/app/utils/subscribe/subscribe.component.ts
114 114
             } else {
115 115
               if(!this.subscribed){
116 116
                 this.subscribed = true;
117
                 this._emailService.sendEmail(this.properties.adminToolsAPIURL + "/notifyForNewSubscribers/" + this.communityId, Composer.composeEmailToInformManagers(this.community.title, this.communityId, this.community.managers)).subscribe(
117
                 this._emailService.sendEmail(this.properties.adminToolsAPIURL + "/notifyForNewSubscribers/" + this.communityId, Composer.composeEmailToInformManagers(this.community.title, this.communityId, this.community.managers, email)).subscribe(
118 118
                   res => {
119 119
                     console.log("The email has been sent successfully!")
120 120
                   },

Also available in: Unified diff