fix type issues and remove logging

This commit is contained in:
Lucas Jensen
2025-01-15 18:07:43 -08:00
parent a961118f77
commit 842709884e
3 changed files with 2 additions and 8 deletions

View File

@@ -21,11 +21,6 @@ def connect_db() -> mysql.connector.MySQLConnection:
password = os.getenv("DB_PASSWORD")
database = os.getenv("DB_DATABASE")
print(host)
print(user)
print(password)
print(database)
if None in [host, user, password, database]:
raise DBException("Missing database credentials")

View File

@@ -24,5 +24,4 @@ async def update_group(
) -> Group:
"""Updates the group bio, but requires the entire group object to be sent in the request body.
Requires authentication."""
ic(group)
return await controller.update_group(group, token)