Skip to content

Commit

Permalink
HELP-34413: Change template builder to use the rx_result rather than …
Browse files Browse the repository at this point in the history
…tx_result. (2600hz#4517)
  • Loading branch information
mk1s authored and icehess committed Jan 25, 2018
1 parent 7727cfe commit acf8b4b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,5 @@ build_fax_template_data(DataJObj) ->
,{<<"box_id">>, kz_json:get_value(<<"faxbox_id">>, DataJObj, kz_doc:id(FaxBoxJObj))}
,{<<"box_name">>, kz_json:get_value(<<"name">>, FaxBoxJObj)}
,{<<"timestamp">>, kz_json:get_value(<<"fax_timestamp">>, DataJObj, kz_time:now_s())}
| kz_json:to_proplist(kz_json:get_value(<<"tx_result">>, FaxJObj, kz_json:new()))
| kz_json:to_proplist(kz_json:get_value(<<"rx_result">>, FaxJObj, kz_json:new()))
]).

0 comments on commit acf8b4b

Please sign in to comment.