We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9cecf08 commit ee034e4Copy full SHA for ee034e4
src/main/kotlin/infrastructure/api/handlers/ZonesHandler.kt
@@ -43,7 +43,7 @@ class ZonesHandler(
43
}.run {
44
routingContext.response()
45
.setStatusCode(
46
- if (this.isEmpty()) HttpResponseStatus.OK.code() else HttpResponseStatus.NO_CONTENT.code(),
+ if (this.isNotEmpty()) HttpResponseStatus.OK.code() else HttpResponseStatus.NO_CONTENT.code(),
47
)
48
.putHeader("content-type", "application/json")
49
.end(
0 commit comments