Unverified Commit a7ddafd4 authored by moonkey124's avatar moonkey124 Committed by GitHub

fix: incorrect error name for 1017 (#2331)

Fixed a copy and paste mistake ***NO_CI***
parent 7f3ba901
......@@ -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
}),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment