fix type issues and remove logging
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user