diff --git a/database/users.py b/database/users.py index 03dd05c..62c2874 100644 --- a/database/users.py +++ b/database/users.py @@ -29,7 +29,6 @@ async def get_user(cls, uuid: str) -> Optional[MongoMappingType]: @classmethod async def create_user(cls, uuid: str, username: str, vendor_type: str) -> bool: query = cls._new_user(uuid, username, vendor_type) - # TODO catch error if user already exists ret: pymongo.results.InsertOneResult = await cls.get_collection().insert_one(query) return ret.acknowledged