Обновил ошибки в хандлере

This commit is contained in:
2025-04-02 18:17:36 +03:00
parent 2f18c5ce85
commit c740242c3f

View File

@@ -2,9 +2,8 @@ from enum import IntEnum
class AnixartAuthErrors(IntEnum):
""" Error codes for AnixartApi authentication."""
INCORRECT_LOGIN = 1
INCORRECT_PASSWORD = 2
INCORRECT_LOGIN = 2
INCORRECT_PASSWORD = 3
def errors_handler(error):