Fixed unprint response property.
This commit is contained in:
2
geo.mjs
2
geo.mjs
@@ -38,7 +38,7 @@ export async function resolvePlace(query, context, options = {}) {
|
|||||||
concurrency: 1,
|
concurrency: 1,
|
||||||
});
|
});
|
||||||
|
|
||||||
const [item] = res.body;
|
const [item] = res.data;
|
||||||
|
|
||||||
if (item && item.address) {
|
if (item && item.address) {
|
||||||
const rawPlace = item.address;
|
const rawPlace = item.address;
|
||||||
|
|||||||
Reference in New Issue
Block a user