diff --git a/src/app/utils/subscribe/subscribe.component.ts b/src/app/utils/subscribe/subscribe.component.ts index d75aa4b..a4db7e9 100644 --- a/src/app/utils/subscribe/subscribe.component.ts +++ b/src/app/utils/subscribe/subscribe.component.ts @@ -113,7 +113,7 @@ export class SubscribeComponent { } else { if(!this.subscribed){ 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 => { console.log("The email has been sent successfully!") }, diff --git a/src/assets/env-properties.json b/src/assets/env-properties.json index 1b01bec..d713c04 100644 --- a/src/assets/env-properties.json +++ b/src/assets/env-properties.json @@ -104,8 +104,6 @@ "searchLinkToAdvancedOrganizations" : "/search/advanced/organizations", "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", "showLastIndexInformationLink" : true,