Skip to content

Commit

Permalink
Bump version in prep for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarno Rantanen committed Apr 8, 2020
1 parent e8fe308 commit c1878b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/backend/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const incomingResponseSample: FrontendResponseModelT = {
};
const persistedResponseSample: BackendResponseModelT = {
age_group: '20',
app_version: 'v1.3',
app_version: 'v2.0',
breathing_difficulties: 'no',
corona_suspicion: 'no',
cough: 'mild',
Expand Down
2 changes: 1 addition & 1 deletion src/backend/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export function prepareResponseForStorage(
timestamp: new Date(timestamp()) // for security, don't trust browser clock, as it may be wrong or fraudulent
.toISOString()
.replace(/:..\..*/, ':00.000Z'), // to preserve privacy, intentionally reduce precision of the timestamp
app_version: 'v1.3', // TODO: This should be set by the deploy process, not hard-coded!
app_version: 'v2.0', // TODO: This should be set by the deploy process, not hard-coded!
country_code: countryCode,
postal_code: mapPostalCode(response).postal_code, // to protect the privacy of participants from very small postal code areas, they are merged into larger ones, based on known population data
duration: response.duration === null ? null : parseInt(response.duration),
Expand Down

0 comments on commit c1878b5

Please sign in to comment.