17 lines
405 B
JavaScript
Raw Normal View History

2024-04-15 23:35:05 +02:00
import { restGet, restPost, restDelete, restPatch } from '../restConsumer.js'
export async function fetchResearcher(id){
return restGet("/researcher/" + id)
}
export async function fetchResearches(id){
return restGet("/researches/" + id)
}
2024-04-17 00:09:30 +02:00
export async function fetchStats(id){
return restGet("/stats/" +id)
}
export async function fetchResearch(id){
return restGet("/research/" +id)
2024-04-17 00:26:56 +02:00
}