Closed WrathfulSpatula closed 2 years ago
Test the GET /api/submission workflow. The code for a client to call the route is here: https://github.com/unitaryfund/metriq-client/blob/3504b73e282864671e7227ad5796468872d1844d/metriq/client.py#L42
GET /api/submission
Make sure that a submission can be successfully retrieved from your local database with that method. If not, you probably have to update the models, again.
The controller method is here: https://github.com/unitaryfund/metriq-api/blob/d22472555de79112fe21ae4fd7ff529ef1e7a22d/metriq-api/controller/submissionController.js#L69 The service method underlying the controller is here: https://github.com/unitaryfund/metriq-api/blob/d22472555de79112fe21ae4fd7ff529ef1e7a22d/metriq-api/service/submissionService.js#L86
https://github.com/unitaryfund/metriq-client/pull/61
Test the
GET /api/submission
workflow. The code for a client to call the route is here: https://github.com/unitaryfund/metriq-client/blob/3504b73e282864671e7227ad5796468872d1844d/metriq/client.py#L42Make sure that a submission can be successfully retrieved from your local database with that method. If not, you probably have to update the models, again.
The controller method is here: https://github.com/unitaryfund/metriq-api/blob/d22472555de79112fe21ae4fd7ff529ef1e7a22d/metriq-api/controller/submissionController.js#L69 The service method underlying the controller is here: https://github.com/unitaryfund/metriq-api/blob/d22472555de79112fe21ae4fd7ff529ef1e7a22d/metriq-api/service/submissionService.js#L86