This commit is contained in:
Egor Matveev
2021-12-19 18:23:48 +03:00
parent 52b09cd692
commit 5a3e696eac
2 changed files with 2 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ class AccountView(BaseView):
elif friendship.verified or friendship.from_user == self.request.user:
friendship.delete()
else:
if self.request.POST["todo"] == "yes":
if self.request.POST["to_do"] == "yes":
friendship.verified = True
friendship.save()
bot.send_message(self.context["account"].userinfo.telegram_chat_id,