diff --git a/src/app/services/manageZenodoCommunities.service.ts b/src/app/services/manageZenodoCommunities.service.ts index 8a07c69..441cddf 100644 --- a/src/app/services/manageZenodoCommunities.service.ts +++ b/src/app/services/manageZenodoCommunities.service.ts @@ -30,6 +30,17 @@ export class ManageZenodoCommunitiesService { } + updateMasterZCommunity(properties:EnvProperties, pid: string,zenodoid: string) { + const options = { + headers: new HttpHeaders({ + 'Content-Type': 'application/json', + }) + }; + let url = properties.communityAPI+pid; + + return this.http.post(url, {mainZenodoCommunity:zenodoid}, options); + //.map(res => res.json()) + } }