9 lines
244 B
JavaScript
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)
|
||
|
}
|