Skip to content

Commit 541ec93

Browse files
committed
to fix help json loader
1 parent f642a33 commit 541ec93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/src/main/scala/app/softnetwork/elastic/client/help/HelpJsonLoader.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ object HelpJsonLoader {
122122
} else {
123123
None
124124
}
125-
}.toOption.flatten
125+
}.getOrElse(None)
126126
}
127127
}
128128

0 commit comments

Comments
 (0)