Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
lazedo committed Feb 11, 2015
1 parent bd1f3c2 commit 281cdfa
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 @@ -122,7 +122,7 @@ validate_search(Context, 'undefined', _) ->
validate_search(Context, Q, T) ->
validate_search(Context, cb_context:req_value(Context, <<"v">>), Q, T).

-spec validate_search(cb_context:context(), api_binary(), ne_binary(), ne_binary()) -> cb_context:context().
-spec validate_search(cb_context:context(), api_binary() | atom() , ne_binary(), ne_binary()) -> cb_context:context().
validate_search(Context, 'true', Q, T) ->
validate_search(Context, <<>>, Q, T);
validate_search(Context, 'undefined', _, _) ->
Expand Down

0 comments on commit 281cdfa

Please sign in to comment.