Skip to content

Commit

Permalink
WHISTLE-42: JObj is already bound
Browse files Browse the repository at this point in the history
  • Loading branch information
k-anderson committed Oct 6, 2012
1 parent e9a5218 commit 7cf11a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion whistle_apps/apps/callflow/src/module/cf_resources.erl
Expand Up @@ -97,7 +97,7 @@ create_endpoint(DestNum, JObj, Call) ->
,$@ ,(wh_json:get_value(<<"server">>, JObj))/binary>>,
lager:debug("attempting resource ~s", [Rule]),
Endpoint = case cf_endpoint:get(Call) of
{ok, JObj} -> JObj;
{ok, J} -> J;
{error, _} -> wh_json:new()
end,
ForceFax = case wh_json:is_true([<<"media">>, <<"fax_option">>], Endpoint) of
Expand Down

0 comments on commit 7cf11a8

Please sign in to comment.