changed query to our api
This commit is contained in:
parent
35900bec5d
commit
bd6fbbebfd
@ -10,8 +10,8 @@ const searchEndpoint = "/papers/search";
|
||||
async function search(request: string): Promise<SearchResults> {
|
||||
try {
|
||||
const response = await integratorApiClient.get<SearchResultsDTO>(
|
||||
// searchEndpoint + `?query=` + request
|
||||
"https://run.mocky.io/v3/ea705665-2479-4039-8b81-412e011fc145"
|
||||
searchEndpoint + `?query=` + request
|
||||
// "https://run.mocky.io/v3/ea705665-2479-4039-8b81-412e011fc145"
|
||||
);
|
||||
const dto = response.data;
|
||||
return create({
|
||||
|
Loading…
x
Reference in New Issue
Block a user