Skip to content

Commit 49103a7

Browse files
fixed unused argument
1 parent d7b890c commit 49103a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/controllers/skill_controller.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ defmodule CodeCorps.SkillController do
2323
|> limit_filter(params)
2424
end
2525

26-
def search(_conn, params) do
26+
def search(_conn, %{"query" => query} = params) do
2727
CodeCorps.ElasticSearchHelper.search(@elasticsearch_url, @elasticsearch_index, @elasticsearch_type, query)
2828
end
2929

0 commit comments

Comments
 (0)