Skip to content

Commit 8522c01

Browse files
committed
Allowing response without body with status code 200
1 parent 8784f30 commit 8522c01

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/com/taboola/rest/api/internal/SynchronousCallAdapterFactory.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,6 @@ public Object adapt(Call<Object> call) {
8585
throwIfNotNull(exceptionFactory.createConnectivityException(e));
8686
}
8787

88-
if (obj == null) {
89-
throw new RestAPIConnectivityException();
90-
}
91-
9288
return obj;
9389
}
9490
};

0 commit comments

Comments
 (0)