Skip to content

Commit

Permalink
Add todo for update logic unification
Browse files Browse the repository at this point in the history
  • Loading branch information
Flagro committed Nov 17, 2024
1 parent 1f69706 commit 508447a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot/rp_bot/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 508447a

Please sign in to comment.