fix: missing error messages

This commit is contained in:
Sérgio Salgado 2022-10-11 23:46:33 +01:00
parent c0ce1a0c42
commit 7532b5c904
14 changed files with 93 additions and 65 deletions

View file

@ -339,7 +339,7 @@ function camelizeDeep (customer) {
/**
* Get all available complianceTypes
* that can be overriden (excluding hard_limit)
* that can be overridden (excluding hard_limit)
*
* @name getComplianceTypes
* @function
@ -404,7 +404,7 @@ function enhanceAtFields (fields) {
*/
function enhanceOverrideFields (fields, userToken) {
if (!userToken) return fields
// Populate with computedFields (user who overrode and overriden timestamps date)
// Populate with computedFields (user who overrode and overridden timestamps date)
return _.reduce(_.assign, fields, _.map((type) => {
return (fields[type + '_override'])
? {