12 lines
252 B
JavaScript
12 lines
252 B
JavaScript
|
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)
|
||
|
}
|
||
|
|
||
|
|