fix type issues and remove logging
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import Modal from "react-bootstrap/Modal";
|
||||
import { MusicianProps } from "../Musicians/Musician/Musician";
|
||||
import { MusicianObj } from "../Musicians/Musician/Musician";
|
||||
import { GroupObj } from "../Group/Group";
|
||||
import { EventSeriesObj } from "../Series/SeriesList";
|
||||
|
||||
@@ -8,7 +8,7 @@ interface EditModalProps {
|
||||
show: boolean;
|
||||
onHide: () => void;
|
||||
form: JSX.Element;
|
||||
entity?: MusicianProps | GroupObj | EventSeriesObj;
|
||||
entity?: MusicianObj | GroupObj | EventSeriesObj;
|
||||
error?: string;
|
||||
livestream_id?: string;
|
||||
}
|
||||
|
||||
@@ -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