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,8 @@
import { restGet, restPost, restDelete, restPatch } from '../restConsumer.js'
export async function deleteArticle(id){
await restDelete("/research/" + id)
}
export async function patchArticle(id, data){
await restPatch("/research/" + id, data)
}