Skip to content

Commit

Permalink
small amend to make addcard backward compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
adonese committed Jul 13, 2022
1 parent d6ae5f9 commit 283f244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/main/java/com/tuti/api/TutiApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public void getPublicKey(EBSRequest ebsRequest, ResponseCallable<TutiResponse> o
sendRequest(RequestMethods.POST, serverURL + Operations.PUBLIC_KEY, ebsRequest, TutiResponse.class, TutiResponse.class, onResponse, onError, null);
}

public void addCard(Card card, ResponseCallable<String> onResponse, ErrorCallable<TutiResponse> onError) {
public void addCard(Object card, ResponseCallable<String> onResponse, ErrorCallable<TutiResponse> onError) {
sendRequest(RequestMethods.POST, serverURL + Operations.ADD_CARD, card, String.class, TutiResponse.class, onResponse, onError, null);
}

Expand Down

0 comments on commit 283f244

Please sign in to comment.