diff --git a/retrofithelper/build.gradle b/retrofithelper/build.gradle index 3514591..ac6d153 100644 --- a/retrofithelper/build.gradle +++ b/retrofithelper/build.gradle @@ -11,7 +11,7 @@ android { minSdkVersion 14 targetSdkVersion 28 versionCode 2 - versionName "1.1.3" + versionName "1.1.4" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" diff --git a/retrofithelper/src/main/java/com/gcorp/retrofithelper/RetrofitClient.kt b/retrofithelper/src/main/java/com/gcorp/retrofithelper/RetrofitClient.kt index ec22844..f1b1b3d 100644 --- a/retrofithelper/src/main/java/com/gcorp/retrofithelper/RetrofitClient.kt +++ b/retrofithelper/src/main/java/com/gcorp/retrofithelper/RetrofitClient.kt @@ -641,7 +641,7 @@ open class RetrofitClient { val res = Response(t, classOfT) - if (t.code() != 202) { + if (t.code() != 200) { requestHandler?.onError(res) return }