fix sql queries to sync mail

This commit is contained in:
grimhilt
2023-04-05 16:10:10 +02:00
parent 8b4210914b
commit 51003b494b
4 changed files with 23 additions and 7 deletions

View File

@@ -23,7 +23,6 @@ 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