usnistgov / dioptra

Test Software for the Characterization of AI Technologies
https://pages.nist.gov/dioptra/
Other
220 stars 33 forks source link

fix: return correct createdOn timestamp for all resources #583

Closed keithmanville closed 2 months ago

keithmanville commented 2 months ago

The API was returning the snapshot's created_on timestamp instead of the resource's created_on timestamp. This commit fixes the issue in the response build functions in restapi/v1/utils.py.