Permalink
Browse files

WHISTLE-42: JObj is already bound

  • Loading branch information...
1 parent 19367fd commit 766102ac0bf46248dd26f01d96810e312dbbaf73 @k-anderson k-anderson committed Oct 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 whistle_apps/apps/callflow/src/module/cf_resources.erl
@@ -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

0 comments on commit 766102a

Please sign in to comment.