Skip to content

Commit

Permalink
fix validator
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferdudas97 committed Jan 16, 2024
1 parent 8da07f4 commit 97c0cad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class NodeMetadataValidator(
if (action != null) {
val actionIsValidEnumValue = HttpConnectionManager.PathWithEscapedSlashesAction.values()
.any { it.name.uppercase() == action.uppercase() }
if (actionIsValidEnumValue) {
if (!actionIsValidEnumValue) {
throw InvalidPathWithEscapedSlashesAction(action)
}
}
Expand Down

0 comments on commit 97c0cad

Please sign in to comment.