Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
joshsmith committed Nov 26, 2017
1 parent 110843f commit 31cd82c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
File renamed without changes.
2 changes: 1 addition & 1 deletion lib/code_corps_web/controllers/skill_controller.ex
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ defmodule CodeCorpsWeb.SkillController do
@elasticsearch_type "title"
@elasticsearch_url Application.get_env(:code_corps, :elasticsearch_url)

def search(_conn, params) do
def search(_conn, %{query: query}) do
CodeCorps.ElasticSearchHelper.search(@elasticsearch_url, @elasticsearch_index, @elasticsearch_type, query)
end

Expand Down

0 comments on commit 31cd82c

Please sign in to comment.