From 508447a4a0b4eb491db1fb1e4eed0157652ae5e9 Mon Sep 17 00:00:00 2001 From: Anton Potapov <47938145+Flagro@users.noreply.github.com> Date: Sun, 17 Nov 2024 22:02:47 +0100 Subject: [PATCH] Add todo for update logic unification --- bot/rp_bot/db.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/rp_bot/db.py b/bot/rp_bot/db.py index ef87718..e35170b 100644 --- a/bot/rp_bot/db.py +++ b/bot/rp_bot/db.py @@ -46,4 +46,5 @@ def __init__( async def create_if_not_exists(self, person: Person, context: Context) -> None: for model in self.models: await model.create_if_not_exists(person, context) + # TODO: unify update logic await self.user_usage.update_usage_if_needed(person)