Skip to content

Commit

Permalink
Merge branch 'hotfix/2.7.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffsampaio committed Oct 26, 2021
2 parents 7dcbd3e + 7e94280 commit 8c9c63b
Show file tree
Hide file tree
Showing 5 changed files with 46 additions and 44 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN mkdir -p /usr/src/mhealth
WORKDIR /usr/src/mhealth

# Install app dependencies
COPY package.json /usr/src/mhealth/
COPY package.json package-lock.json /usr/src/mhealth/
RUN npm install

# Copy app source
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ RESTFul microservice API responsible for managing health measurements, physical
- Blood Glucose
- Blood Pressure
- Body Temperature
- Calf Circumference
- Hand Grip
- Weight
- Body Fat
- Height
Expand Down
74 changes: 37 additions & 37 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mhealth-service",
"version": "2.7.0",
"version": "2.7.2",
"description": "RESTFul microservice API responsible for managing health measurements, physical activity and sleep.",
"main": "dist/server.js",
"scripts": {
Expand Down Expand Up @@ -60,7 +60,7 @@
"inversify": "^6.0.1",
"inversify-express-utils": "^6.4.3",
"moment": "^2.29.1",
"mongoose": "^6.0.11",
"mongoose": "^6.0.12",
"morgan": "^1.10.0",
"query-strings-parser": "^2.1.8",
"reflect-metadata": "^0.1.13",
Expand All @@ -84,9 +84,9 @@
"nyc": "^15.1.0",
"sinon": "^11.1.2",
"supertest": "^6.1.6",
"ts-node": "^10.3.1",
"ts-node": "^10.4.0",
"tslint": "^6.1.3",
"typedoc": "^0.22.6",
"typedoc": "^0.22.7",
"typescript": "^4.4.4"
}
}
4 changes: 2 additions & 2 deletions src/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export abstract class Config {
Default.MONGODB_URI_TEST) : (process.env.MONGODB_URI || Default.MONGODB_URI),
options: (process.env.MONGODB_ENABLE_TLS === 'false') ? undefined : {
sslValidate: true,
tlsCAFile: fs.readFileSync(process.env.MONGODB_CA_PATH!),
tlsCertificateKeyFile: fs.readFileSync(process.env.MONGODB_KEY_PATH!)
tlsCAFile: process.env.MONGODB_CA_PATH,
tlsCertificateKeyFile: process.env.MONGODB_KEY_PATH
} as IDBOptions
} as IMongoConfig
}
Expand Down

0 comments on commit 8c9c63b

Please sign in to comment.