Skip to content

Commit f5e176e

Browse files
committed
update readme
1 parent c2a2a30 commit f5e176e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ export default async (request, context) => {
4949
}
5050

5151
// Otherwise we can get the "country" variable
52-
const { latlon } = location;
53-
return new Response(`The country is ${JSON.stringify(latlon)}.`)
52+
const { lat, lon } = location;
53+
return new Response(`The country is ${JSON.stringify({lat, lon})}.`)
5454
}
5555
```
5656

0 commit comments

Comments
 (0)