feat: Added edit profile func
This commit is contained in:
1 parent
3ca80dea1f
commit
2d35f26b29
6 files changed
+197
-7
No files matched your search
@@ -73,6 +73,10 @@ class User(Base):
|
||||
|
||||
return normalized_value
|
||||
|
||||
@classmethod
|
||||
def get_user_queryset_by_telegram_id(cls, telegram_id):
|
||||
return session.query(cls).filter(cls.telegram_id == telegram_id)
|
||||
|
||||
@classmethod
|
||||
def get_user_by_telegram_id(cls, telegram_id):
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user