Skip to content

Commit

Permalink
KAZOO-3407 - fix defaults
Browse files Browse the repository at this point in the history
(cherry picked from commit be100fc)
  • Loading branch information
lazedo committed Mar 11, 2015
1 parent 093d8de commit c281aea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions applications/doodle/src/doodle_inbound_listener_sup.erl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
-define(DOODLE_INBOUND_BROKER, whapps_config:get_ne_binary(?CONFIG_CAT, <<"inbound_broker">>, ?DEFAULT_BROKER)).
-define(DOODLE_INBOUND_EXCHANGE, whapps_config:get_ne_binary(?CONFIG_CAT, <<"inbound_exchange">>, ?DEFAULT_EXCHANGE)).
-define(DOODLE_INBOUND_EXCHANGE_TYPE, whapps_config:get_ne_binary(?CONFIG_CAT, <<"inbound_exchange_type">>, ?DEFAULT_EXCHANGE_TYPE)).
-define(DOODLE_INBOUND_EXCHANGE_OPTIONS, whapps_config:get(?CONFIG_CAT, <<"inbound_exchange_options">>, ?DEFAULT_EXCHANGE_OPTIONS)).
-define(DOODLE_INBOUND_EXCHANGE_OPTIONS, whapps_config:get(?CONFIG_CAT, <<"inbound_exchange_options">>, ?DEFAULT_EXCHANGE_OPTIONS_JOBJ)).

%% ===================================================================
%% API functions
Expand Down Expand Up @@ -85,7 +85,7 @@ default_connection() ->
,exchange = ?DOODLE_INBOUND_EXCHANGE
,type = ?DOODLE_INBOUND_EXCHANGE_TYPE
,queue = ?DOODLE_INBOUND_QUEUE
,options = wh_json:to_proplist(?DEFAULT_EXCHANGE_OPTIONS_JOBJ)
,options = wh_json:to_proplist(?DOODLE_INBOUND_EXCHANGE_OPTIONS)
}.

-spec connections() -> amqp_listener_connections().
Expand Down

0 comments on commit c281aea

Please sign in to comment.