Permalink
Browse files

returns list (#71)

  • Loading branch information...
1 parent ad281f3 commit 392e768266bb2e7fcba4695ba287d538da10b4b4 @AnushaMorappanavar AnushaMorappanavar committed with Oct 4, 2017
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/erlastic_search.erl
View
@@ -725,7 +725,7 @@ build_header(Operation, Index, Type, Id, HeaderInformation) ->
false -> [{<<"_id">>, Id} | Header1]
end,
- jsx:encode([{erlang:atom_to_binary(Operation, utf8), Header2}]).
+ [jsx:encode([{erlang:atom_to_binary(Operation, utf8), Header2}])].
build_body(delete, no_body) ->
[<<"\n">>];

0 comments on commit 392e768

Please sign in to comment.