Skip to content

Commit

Permalink
Fixed condition πŸ˜…
Browse files Browse the repository at this point in the history
  • Loading branch information
tallnato committed Jun 6, 2017
1 parent e45b39a commit be2d086
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ protected void subscribeActual(@NonNull SingleObserver<? super GraphResponse> ob
@Override
public void onCompleted(JSONObject object, GraphResponse response) {

if (response.getError() != null) {
if (response.getError() == null) {
mObserver.onSuccess(response);
} else {
mObserver.onError(response.getError().getException());
Expand Down

0 comments on commit be2d086

Please sign in to comment.