Fix @JsonProperty value for 'image'

pull/9/head
Hammy 3 years ago
parent ed85f99294
commit 13a3e75c4a

@ -49,7 +49,7 @@ public class WaifuImage {
* Final URL of the original resolution image * Final URL of the original resolution image
* *
*/ */
@JsonProperty("path") @JsonProperty("image")
@JsonPropertyDescription("Final URL of the original resolution image") @JsonPropertyDescription("Final URL of the original resolution image")
private String image; private String image;
@ -81,12 +81,12 @@ public class WaifuImage {
this.thumbnail = thumbnail; this.thumbnail = thumbnail;
} }
@JsonProperty("path") @JsonProperty("image")
public String getImage() { public String getImage() {
return image; return image;
} }
@JsonProperty("path") @JsonProperty("image")
public void setImage(String image) { public void setImage(String image) {
this.image = image; this.image = image;
} }

Loading…
Cancel
Save