fix: update not_allowed_register message

This commit is contained in:
mayiming 2024-11-15 17:24:23 +08:00
parent 2fed55ae6b
commit 855f61ad54

View File

@ -53,8 +53,8 @@ class AccountBannedError(BaseHTTPException):
class NotAllowedRegister(BaseHTTPException): class NotAllowedRegister(BaseHTTPException):
error_code = "unauthorized" error_code = "not_allowed_register"
description = "Account not found." description = "Not Allowed Register"
code = 400 code = 400