CoVital-Project / pulse-ox-data-collection-web-service

HTTPS API for receiving pulse oximetry from mobile clients
https://covital.org
GNU General Public License v3.0
5 stars 4 forks source link

Fix for missing source parameter in GET /signed-upload #73

Closed jagoyette closed 3 years ago

jagoyette commented 4 years ago

Recently, the batched-signed-upload-req API was modified to use a source parameter which is expected to be an enum [ "community", "clinical" ]. The similar API, get-signed-upload-req, now fails because the source parameter is not being supplied to the S3 service where it is expected.

This PR modifies the get-signed-upload-req method to accept a source parameter and properly pass it along to the S3 Service.