Skip to content

Commit

Permalink
fix normalizing value to search (2600hz#2889)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazedo authored and icehess committed Dec 6, 2016
1 parent 9a89e77 commit 38a816b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/crossbar/src/modules/cb_search.erl
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ multi_search(Context, Type, [_|Props], Acc) ->
%%--------------------------------------------------------------------
-spec maybe_normalize_value(ne_binary(), ne_binary()) -> ne_binary().
maybe_normalize_value(<<"account">>, Value) ->
kz_util:normalize_account_name(Value);
kz_util:to_lower_binary(Value);
maybe_normalize_value(_, Value) ->
Value.

Expand Down

0 comments on commit 38a816b

Please sign in to comment.