Skip to content

Commit 1c46c84

Browse files
committed
fix: score param type on commit risk
1 parent 14ec8fe commit 1c46c84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/cryptomarket/sdk/models/CommitRisk.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import com.squareup.moshi.Json;
44

55
public class CommitRisk {
6-
private String score;
6+
private Integer score;
77
private String rbf;
88
@Json(name = "low_fee")
99
private String lowFee;
@@ -16,7 +16,7 @@ public class CommitRisk {
1616
*
1717
* @return
1818
*/
19-
public String getScore() {
19+
public Integer getScore() {
2020
return score;
2121
}
2222

@@ -25,7 +25,7 @@ public String getScore() {
2525
*
2626
* @param score
2727
*/
28-
public void setScore(String score) {
28+
public void setScore(Integer score) {
2929
this.score = score;
3030
}
3131

0 commit comments

Comments
 (0)