Skip to content

Commit fb625df

Browse files
authored
Merge pull request #26 from sbxcloud/annotationlib
Annotationlib
2 parents 2150f71 + 5970e4f commit fb625df

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Agregamos la librería como dependencia
2424

2525
dependencies {
2626
//...otras dependencias de tu proyeco aquí.....
27-
compile 'com.github.sbxcloud:androidlib:v2.3.1'
27+
compile 'com.github.sbxcloud:androidlib:v2.3.3'
2828
}
2929
3030
Esta librería se basa en annotaciones. Para crear tu propia Clase usuario puedes hacerla así:

app/src/main/java/com/sbxcloud/android/sbxcloudsdk/net/cloudscript/SbxCloudScript.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public void onResponse(Call call, Response response) throws IOException {
101101
update(jsonObject);
102102
simpleResponse.onSuccess(SbxCloudScript.this);
103103
}else{
104-
simpleResponse.onError(new Exception(jsonObject.getString("error")));
104+
simpleResponse.onError(new Exception(jsonObject.getString("message")));
105105
}
106106
}catch (Exception e ){
107107
simpleResponse.onError(e);

0 commit comments

Comments
 (0)