Skip to content

Commit

Permalink
fix(General): Redirection issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Udhayarajan committed Jun 27, 2023
1 parent 9b3169a commit 6dd9784
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ plugins {
}

group = "io.github.udhayarajan"
version = "5.3.11"
version = "5.3.12"
//Version Naming incremented if "<NEW_FEATURE_ADDED>.<WORKED_ON_BUG>.<BETA_VERSION_COUNT>"
//Priority on incrementing Feature > BugFix > Beta

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class HttpRequest(
}

private fun createClient(requiresRedirection: Boolean = true): HttpInterface {
return HttpInterfaceImpl(clientGenerator().also { it.config { followRedirects = requiresRedirection } })
return HttpInterfaceImpl(clientGenerator().apply { config { followRedirects = requiresRedirection } })
}

/**
Expand Down

0 comments on commit 6dd9784

Please sign in to comment.