Skip to content

Commit

Permalink
Update languages/go/src/main/kotlin/io/vrap/codegen/languages/go/clie…
Browse files Browse the repository at this point in the history
…nt/MethodRenderer.kt

Co-authored-by: Jens Schulze <[email protected]>
  • Loading branch information
demeyerthom and jenschude authored Feb 20, 2024
1 parent fc8bd9f commit 7b7ddce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ class GoMethodRenderer(
}
}
.map {
val isSuccess = it.second.toInt() in (200..399)
val isSuccess = it.second.toInt() in (200..299)

if (it.first == "nil") {
if (isSuccess) {
Expand Down

0 comments on commit 7b7ddce

Please sign in to comment.