Skip to content
This repository has been archived by the owner on Sep 5, 2022. It is now read-only.

Commit

Permalink
fix always failed download
Browse files Browse the repository at this point in the history
  • Loading branch information
sal0max committed Dec 19, 2021
1 parent f151c48 commit 916035a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ android {
// SemVer
val major = 1
val minor = 0
val patch = 5
val patch = 6
versionCode = (major * 10000) + (minor * 100) + patch
versionName = "$major.$minor.$patch"
base.archivesName.set("$applicationId-v$versionCode")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ object InstagramService {
private val validator: ResponseValidator = { response ->
if (response.url == URL("https://www.instagram.com/accounts/login/"))
throw BlockedApiCallException()
(response.isServerError || response.isClientError)
!(response.isServerError || response.isClientError)
}

/**
Expand Down

0 comments on commit 916035a

Please sign in to comment.