[plugins-functionality | DONE | CHANGED ] allow add/remove main zenodo community - complete previous commit - add service change
This commit is contained in:
parent
37f8c73720
commit
a4a592e248
|
@ -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<any>(url, {mainZenodoCommunity:zenodoid}, options);
|
||||
//.map(res => <any> res.json())
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue