Skip to content

Commit 2adaaa5

Browse files
Updated pattern match
1 parent 49103a7 commit 2adaaa5

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

0 commit comments

Comments
 (0)