Removed a whole bunch of old logging

This commit is contained in:
2025-12-17 09:40:11 -05:00
parent 637968552d
commit a7c2ed7dff
13 changed files with 1 additions and 26 deletions

View File

@@ -73,7 +73,6 @@ export async function approveApplication(id: number, approver: number) {
`;
const result = await pool.execute(sql, [approver, id]);
console.log(result);
if (result.affectedRows == 1) {
return
} else {
@@ -91,7 +90,6 @@ export async function denyApplication(id: number, approver: number) {
`;
const result = await pool.execute(sql, [approver, id]);
console.log(result);
if (result.affectedRows == 1) {
return
} else {

View File

@@ -126,6 +126,5 @@ export async function getEventAttendance(eventID: number): Promise<CalendarSignu
const sql = "CALL `sp_GetCalendarEventSignups`(?)"
const res = await pool.query(sql, [eventID]);
console.log(res[0]);
return res[0];
}

View File

@@ -89,13 +89,11 @@ export async function closeLOA(id: number, closer: number) {
ended_at = NOW()
WHERE leave_of_absences.id = ?`;
let out = await pool.query(sql, [closer, id]);
console.log(out);
return out;
}
export async function getLOAbyID(id: number): Promise<LOARequest> {
let res = await pool.query(`SELECT * FROM leave_of_absences WHERE id = ?`, [id]);
console.log(res);
if (res.length != 1)
throw new Error(`LOA with id ${id} not found`);
return res[0];

View File

@@ -34,7 +34,6 @@ export async function setUserSettings(id: number, settings: memberSettings) {
displayName = ?
WHERE id = ?;`;
let result = await pool.query(sql, [settings.displayName, id])
console.log(result);
}
export async function getMembersLite(ids: number[]): Promise<MemberLight[]> {