mirror of
https://github.com/requarks/wiki.git
synced 2025-02-25 18:55:28 -06:00
fix: incorrect error name for 1017 (#2331)
Fixed a copy and paste mistake ***NO_CI***
This commit is contained in:
parent
7f3ba90192
commit
a7ddafd4aa
@ -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
|
||||
}),
|
||||
|
Loading…
Reference in New Issue
Block a user