Permalink
Browse files

WHISTLE-1675: load the format_from_uri flag, per gateway, into the #g…

…ateway record
  • Loading branch information...
1 parent 5825e5e commit 036b7a7ced3d4dd629ba12cd34fce51c2854fb3c @jamesaimonetti jamesaimonetti committed Oct 3, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 whistle_apps/apps/stepswitch/src/stepswitch_listener.erl
@@ -328,6 +328,7 @@ create_gateway(JObj, Id) ->
EndpointType
,endpoint_options =
EndpointOptions
+ ,format_from_uri = wh_json:is_true(<<"format_from_uri">>, JObj, Default#gateway.format_from_uri)
}.
endpoint_type(JObj, Default) ->

0 comments on commit 036b7a7

Please sign in to comment.