Skip to content

Commit

Permalink
Bump version for release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarno Rantanen committed Apr 3, 2020
1 parent 2d771ef commit cbf0753
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.2',
app_version: 'v1.3',
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.2', // TODO: This should be set by the deploy process, not hard-coded!
app_version: 'v1.3', // 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 cbf0753

Please sign in to comment.