From fbe32deefbc8a6274f1e235aee5067a7ac54cc23 Mon Sep 17 00:00:00 2001 From: Ali Maktabi Date: Thu, 17 Oct 2024 15:34:20 +0330 Subject: [PATCH] fixed code quality issues --- telegram/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/telegram/views.py b/telegram/views.py index de6fbd6..f94de3c 100644 --- a/telegram/views.py +++ b/telegram/views.py @@ -83,9 +83,8 @@ def user_profile(self): def perform_create(self, serializer: TelegramConnectionSerializer): telegram_data = serializer.validated_data - is_verified = TelegramUtil().verify_login(telegram_data) - if is_verified: + if TelegramUtil().verify_login(telegram_data): user_id = telegram_data["id"] TelegramMessenger.get_instance().send_message(