cds-snc / covid-alert-server

Exposure Notification: Diagnosis Server implementation / Notification d’exposition : Mise en œuvre du serveur de diagnostic
Apache License 2.0
298 stars 31 forks source link

feat: make severity optional in upload and default to 0 on download #442

Closed maxneuvians closed 3 years ago

maxneuvians commented 3 years ago

This PR makes the severity of the and outbreak optional in that it does not check for a value on upload and defaults to 0 when the outbreak is downloaded. This way, regardless of the input on the portal end, the app will have a consistent model in evaluating the data.