mirror of
https://github.com/wassname/talk.git
synced 2026-07-13 01:18:24 +08:00
Change text and status of ErrAlreadyExists
This commit is contained in:
@@ -109,9 +109,9 @@ class ErrAuthentication extends APIError {
|
||||
*/
|
||||
class ErrAlreadyExists extends APIError {
|
||||
constructor(existing = null) {
|
||||
super('authentication error occured', {
|
||||
super('resource already exists', {
|
||||
translation_key: 'ALREADY_EXISTS',
|
||||
status: 400
|
||||
status: 409
|
||||
}, {
|
||||
existing
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user