1
0
forked from PGL/Clyde
Clyde/frontend/src/rest/ScientificPublications/ManageResearcherProfile.js

9 lines
244 B
JavaScript

import { restGet, restPost, restDelete, restPatch } from '../restConsumer.js'
export async function getSelf(){
return restGet("/researcher")
}
export async function patchProfile(id, data){
return restPatch("/researcher/" + id, data)
}