updated response structure

This commit is contained in:
Abhinav-grd 2021-05-26 17:11:55 +05:30
parent aeecac7429
commit 7b135410db

View file

@ -24,5 +24,5 @@ export async function searchLocation(
query: searchPhrase,
limit: 4,
});
return resp.data;
return resp.data.result;
}