Skip to content

Commit 6771ba5

Browse files
committed
[skip ci] update readme - fix example for c23wa
1 parent e6ca4e3 commit 6771ba5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ import { ConvertTo3waClient, ConvertTo3waOptions, ConvertTo3waResponse } from '@
239239

240240
const API_KEY = '<YOUR_API_KEY>';
241241
const client: ConvertTo3waClient = ConvertTo3waClient.init(API_KEY)
242-
const options: ConvertTo3waOptions = { lat: 51.520847, lng: -0.195521 };
242+
const options: ConvertTo3waOptions = { coordinates: { lat: 51.520847, lng: -0.195521 } };
243243
client.run(options)
244244
.then((res: ConvertTo3waResponse) => console.log('Convert to 3wa', res));
245245
```

0 commit comments

Comments
 (0)