fix BookContributor

Roles enum
This commit is contained in:
SvyatoslavArtymovych 2023-04-24 18:01:36 +03:00
parent fc5824e0f6
commit 3f49a5757e
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ class BookContributor(BaseModel):
__tablename__ = "book_contributors" __tablename__ = "book_contributors"
class Roles(IntEnum): class Roles(IntEnum):
UNKNOWN = 10 UNKNOWN = 0
MODERATOR = 1 MODERATOR = 1
EDITOR = 2 EDITOR = 2