diff --git a/CHANGELOG.md b/CHANGELOG.md index 7ec81347b..c34628f1b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). # [8.12.0] - 2024-10-?? - Added `network_apis` capability to Application API - Added `@JsonCreator` annotation to webhook classes' `fromJson(String)` method +- Fixed Whatsapp API `latitude` and `longitude` field names # [8.11.0] - 2024-09-25 - Added custom user agent property setting to `HttpConfig` @@ -758,4 +759,4 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Added - Add support for nexmo SNS service - Ams submission - report comms-failure as an error response, not as an exception -- Ams submission - add support for 'remainingBalance' in the api response \ No newline at end of file +- Ams submission - add support for 'remainingBalance' in the api response diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index f6886ede5..332c641af 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -36,4 +36,5 @@ documentation, or tests are eligible to be added to this list. - Ilya Golovin ([@ilgo0413](https://github.com/ilgo0413)) - Joakim Waltersson ([@jwalter](https://github.com/jwalter)) - Mofi Rahman ([@moficodes](https://github.com/moficodes)) -- Sina Madani ([@SMadani](https://github.com/SMadani)) \ No newline at end of file +- Sina Madani ([@SMadani](https://github.com/SMadani)) +- Jeremy Chan ([@jeremychan](https://github.com/jeremychan)) diff --git a/src/main/java/com/vonage/client/messages/whatsapp/Location.java b/src/main/java/com/vonage/client/messages/whatsapp/Location.java index 0e0396bc9..6c43f847e 100644 --- a/src/main/java/com/vonage/client/messages/whatsapp/Location.java +++ b/src/main/java/com/vonage/client/messages/whatsapp/Location.java @@ -39,12 +39,12 @@ public final class Location extends JsonableBaseObject { address = builder.address; } - @JsonProperty("lat") + @JsonProperty("latitude") public double getLatitude() { return latitude; } - @JsonProperty("long") + @JsonProperty("longitude") public double getLongitude() { return longitude; }