Browse Source
fix: incorrect error name for 1017 (#2331)
Fixed a copy and paste mistake
***NO_CI***
pull/2354/head
moonkey124
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
server/helpers/error.js
|
|
@ -229,7 +229,7 @@ module.exports = { |
|
|
|
message: 'An unexpected error occured during user creation.', |
|
|
|
code: 1009 |
|
|
|
}), |
|
|
|
UserDeleteForeignConstraint: CustomError('UserCreationFailed', { |
|
|
|
UserDeleteForeignConstraint: CustomError('UserDeleteForeignConstraint', { |
|
|
|
message: 'Cannot delete user because of content relational constraints.', |
|
|
|
code: 1017 |
|
|
|
}), |
|
|
|