diff --git a/src/database/users.py b/src/database/users.py index 379c6f8..745e311 100644 --- a/src/database/users.py +++ b/src/database/users.py @@ -136,7 +136,7 @@ async def fetch(cls, api_key: APIKey, user_db: AsyncConnection) -> Self | None: return None async def get_groups(self) -> list[UserGroup]: - if self._groups: + if self._groups is not None: return self._groups if self._database is None: