From 77b40cb836d82233b9ee74eb540deb6f8dca109f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Mon, 28 Mar 2022 20:18:00 +0000 Subject: [PATCH] User.delete return value --- api/kiwi_vpn_api/db/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/kiwi_vpn_api/db/user.py b/api/kiwi_vpn_api/db/user.py index 3b462c9..f40253b 100644 --- a/api/kiwi_vpn_api/db/user.py +++ b/api/kiwi_vpn_api/db/user.py @@ -100,7 +100,7 @@ class User(UserBase, table=True): db.commit() db.refresh(self) - def delete(self) -> bool: + def delete(self) -> None: """ Delete this user from the database. """