@janiscommerce/model
Advanced tools
Comparing version 3.3.2 to 3.3.3
@@ -8,2 +8,6 @@ # Changelog | ||
## [3.3.3] - 2019-11-28 | ||
## Added | ||
- `excludeFieldsInLog` getter documented on readme | ||
## [3.3.2] - 2019-11-22 | ||
@@ -10,0 +14,0 @@ ### Fixed |
{ | ||
"name": "@janiscommerce/model", | ||
"version": "3.3.2", | ||
"version": "3.3.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/model.js", |
@@ -111,2 +111,7 @@ # model | ||
### Getters | ||
* **excludeFieldsInLog** (*getter*). | ||
Returns the fields that will be removed from the logs as an array of strings. For example: `['password', 'super-secret']` | ||
### const items = await myModel.get(params) | ||
@@ -113,0 +118,0 @@ - Returns items from database |
17577
285