plugins-functionality #10
|
@ -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