USGCRP / gcis

Global Change Information System
https://data.globalchange.gov
Other
20 stars 16 forks source link

Adding origination code to handle report_figure. Addresses issue #695 #696

Closed adthrasher closed 5 years ago

adthrasher commented 5 years ago

The origination code is specific to figure. The report-level figures are of a different type "report_figure". I've added the origination methods to the report_figure object. Feel free to reject and make the change differently. I'm not familiar enough with the code base to evaluate if this is an ideal fix. Testing in data-tsu indicates that GET and POST are now working for report-level figures.

coveralls commented 5 years ago

Coverage Status

Coverage increased (+0.01%) to 59.391% when pulling 4468766ed89da8b7eb2ea06114d0a6a66b5c18bd on thrasher into 324792c98bfb52d00c3203547508dedec93c1d08 on development.