patch Researcher Profile and researches

This commit is contained in:
2024-04-17 23:00:37 +02:00
parent 47f1bffb24
commit 3281bf1d7e
8 changed files with 421 additions and 26 deletions

View File

@ -0,0 +1,9 @@
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)
}