From 68a6633d1200496ab75a388e9f3313829c104046 Mon Sep 17 00:00:00 2001 From: gcarvellas Date: Wed, 25 Oct 2023 23:44:17 -0400 Subject: [PATCH] removed unnecessary TODO --- database/users.py | 1 - 1 file changed, 1 deletion(-) 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