Remove properties for sending email

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-connect-portal/trunk@53977 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
sofia.baltzi 2018-11-26 16:05:33 +00:00
parent 877232e888
commit 8c23ffc411
2 changed files with 1 additions and 3 deletions

View File

@ -113,7 +113,7 @@ export class SubscribeComponent {
} else { } else {
if(!this.subscribed){ if(!this.subscribed){
this.subscribed = true; this.subscribed = true;
this._emailService.sendEmail(this.properties.notifyForNewSubscribers + this.communityId, this.composeEmailToInformManagers(this.community.title, this.communityId, this.community.managers)).subscribe( this._emailService.sendEmail(this.properties.adminToolsAPIURL + "/notifyForNewSubscribers/" + this.communityId, this.composeEmailToInformManagers(this.community.title, this.communityId, this.community.managers)).subscribe(
res => { res => {
console.log("The email has been sent successfully!") console.log("The email has been sent successfully!")
}, },

View File

@ -104,8 +104,6 @@
"searchLinkToAdvancedOrganizations" : "/search/advanced/organizations", "searchLinkToAdvancedOrganizations" : "/search/advanced/organizations",
"searchLinkToAdvancedPeople" : "/search/advanced/people", "searchLinkToAdvancedPeople" : "/search/advanced/people",
"notifyForNewManagers": "http://duffy.di.uoa.gr:8080/uoa-admin-tools/notifyForNewManagers/",
"notifyForNewSubscribers": "http://duffy.di.uoa.gr:8080/uoa-admin-tools/notifyForNewSubscribers/",
"lastIndexInformationLink" : "https://www.openaire.eu/aggregation-and-content-provision-workflows", "lastIndexInformationLink" : "https://www.openaire.eu/aggregation-and-content-provision-workflows",
"showLastIndexInformationLink" : true, "showLastIndexInformationLink" : true,