Fixed unprint response property.
This commit is contained in:
parent
7a39529e2c
commit
1122b4198f
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;
|
||||||
|
|
Loading…
Reference in New Issue