Skip to content

Commit

Permalink
Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
sksamuel committed Nov 22, 2020
1 parent ad3e16f commit a060a0a
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ object MultiSearchBuilderFn {
}
header.endObject()

val body = request.source.getOrElse(SearchBodyBuilderFn(request).string())

Seq(header.string(), body)
val body = SearchBodyBuilderFn(search)
Seq(header.string(), body.string())

}.mkString("\n") + "\n"
}
Expand Down

0 comments on commit a060a0a

Please sign in to comment.