Fix emoji qualification #124

Merged
floatingghost merged 4 commits from emoji-qualification into develop 2022-07-28 12:02:36 +00:00
2 changed files with 9 additions and 1 deletions
Showing only changes of commit 18cad411f7 - Show all commits

View file

@ -114,6 +114,7 @@ def call(conn = %{method: method}, url, opts) when method in @methods do
else
{:ok, true} ->
conn
|> put_private(:proxied_url, url)
|> error_or_redirect(500, "Request failed", opts)
|> halt()

View file

@ -37,6 +37,13 @@ defp to_es({:filter, [field, query]}) do
end
def parse(q) do
Enum.map(q, &to_es/1)
[
%{
exists: %{
field: "content"
}
}
] ++
Enum.map(q, &to_es/1)
end
end