#4988 - new-module-agency #2303

Merged
pablone merged 17 commits from 4988-new-module-agency into dev 2024-04-26 07:06:56 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 51c42d09b2 - Show all commits

View File

@ -1,4 +1,4 @@
let UserError = require('vn-loopback/util/user-error'); const UserError = require('vn-loopback/util/user-error');
Outdated
Review

const

const
module.exports = Self => { module.exports = Self => {
Self.rewriteDbError(function(err) { Self.rewriteDbError(function(err) {
if (err.code === 'ER_DUP_ENTRY') if (err.code === 'ER_DUP_ENTRY')