Skip to content

Commit

Permalink
KAZOO-5140 fix bindings (2600hz#2786)
Browse files Browse the repository at this point in the history
  • Loading branch information
lazedo authored and k-anderson committed Nov 11, 2016
1 parent 77afaa0 commit dfad96e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion applications/acdc/src/acdc_listener.erl
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
-type state() :: #state{}.

%% By convention, we put the options here in macros, but not required.
-define(BINDINGS, [{'route', [{'restrict_to', ?RESOURCE_TYPES_HANDLED}]}
-define(BINDINGS, [{'route', [{'types', ?RESOURCE_TYPES_HANDLED}]}
,{'self', []}
,{'conf', [{'doc_type', <<"queue">>}
,{'action', <<"created">>}
Expand Down
2 changes: 1 addition & 1 deletion applications/cccp/src/cccp_listener.erl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
-define(SERVER, ?MODULE).

-define(BINDINGS, [{'self', []}
,{'route', [{'restrict_to', ?RESOURCE_TYPES_HANDLED}]}
,{'route', [{'types', ?RESOURCE_TYPES_HANDLED}]}
,{'conf', [{'doc_type', <<"sys_info">>}]}
]).
-define(RESPONDERS, [{{'cccp_handlers', 'handle_route_req'}, [{<<"dialplan">>, <<"route_req">>}]}
Expand Down
2 changes: 1 addition & 1 deletion applications/conference/src/conference_listener.erl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
-record(state, {}).
-type state() :: #state{}.

-define(BINDINGS, [{'route', [{'restrict_to', ?RESOURCE_TYPES_HANDLED}]}
-define(BINDINGS, [{'route', [{'types', ?RESOURCE_TYPES_HANDLED}]}
,{'self', []}
]).
-define(RESPONDERS, [{'conf_route_req', [{<<"dialplan">>, <<"route_req">>}]}
Expand Down

0 comments on commit dfad96e

Please sign in to comment.