implement database as a class for tests
This commit is contained in:
@@ -23,6 +23,7 @@ export async function findRoomByOwner(ownerId: number): Promise<{ room_id: numbe
|
||||
}
|
||||
|
||||
export async function getUserIdOfMailbox(boxId: number): Promise<{ user_id: number }[]> {
|
||||
console.log("fuckdsvreghiu")
|
||||
const query = `
|
||||
SELECT app_account.user_id
|
||||
FROM mailbox
|
||||
|
||||
Reference in New Issue
Block a user