From 6c9fdf8a12d54cac0f69f8692f55bfa12db2414f Mon Sep 17 00:00:00 2001 From: djeck1432 Date: Tue, 29 Oct 2024 16:05:11 +0100 Subject: [PATCH] fix issue in crud --- web_app/db/crud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_app/db/crud.py b/web_app/db/crud.py index b5d8156d..a181e5d3 100644 --- a/web_app/db/crud.py +++ b/web_app/db/crud.py @@ -502,4 +502,4 @@ def delete_telegram_user(self, telegram_id: str) -> None: """ user = self.get_user_by_telegram_id(telegram_id) if user: - self.delete_from_db(user) + self.delete_object(user, user.id)