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

8 lines
254 B
JavaScript
Raw Normal View History

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)
}