Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update src/main/java/com/mercadolibre/sdk/Meli.java

Se cambian el tipo de dato de clientId de int a long
commit d42f5014bd325c9bbea08344bf8e42ab1e741e9e 1 parent 9801291
@nmoraes nmoraes authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/main/java/com/mercadolibre/sdk/Meli.java
View
8 src/main/java/com/mercadolibre/sdk/Meli.java
@@ -18,22 +18,22 @@
public static String apiUrl = "https://api.mercadolibre.com";
private String accessToken;
private String refreshToken;
- private int clientId;
+ private Long clientId;
private String clientSecret;
private AsyncHttpClient http = new AsyncHttpClient();
- public Meli(int clientId, String clientSecret) {
+ public Meli(Long clientId, String clientSecret) {
this.clientId = clientId;
this.clientSecret = clientSecret;
}
- public Meli(int clientId, String clientSecret, String accessToken) {
+ public Meli(Long clientId, String clientSecret, String accessToken) {
this.accessToken = accessToken;
this.clientId = clientId;
this.clientSecret = clientSecret;
}
- public Meli(int clientId, String clientSecret, String accessToken,
+ public Meli(Long clientId, String clientSecret, String accessToken,
String refreshToken) {
this.accessToken = accessToken;
this.clientId = clientId;
Please sign in to comment.
Something went wrong with that request. Please try again.