diff --git a/src/main/java/com/yaphet/chapa/client/ChapaClient.java b/src/main/java/com/yaphet/chapa/client/ChapaClient.java index 599605d..b4c3b18 100644 --- a/src/main/java/com/yaphet/chapa/client/ChapaClient.java +++ b/src/main/java/com/yaphet/chapa/client/ChapaClient.java @@ -18,5 +18,5 @@ public interface ChapaClient { int getStatusCode(); - int getStatus(); + Integer getStatus(); } diff --git a/src/main/java/com/yaphet/chapa/client/ChapaClientImpl.java b/src/main/java/com/yaphet/chapa/client/ChapaClientImpl.java index 77aec85..b579afb 100644 --- a/src/main/java/com/yaphet/chapa/client/ChapaClientImpl.java +++ b/src/main/java/com/yaphet/chapa/client/ChapaClientImpl.java @@ -67,7 +67,7 @@ public int getStatusCode() { } @Override - public int getStatus() { + public Integer getStatus() { return 0; } }