Updated querying

This commit is contained in:
2024-10-03 15:21:22 +02:00
parent 4ac6bc9f7b
commit 6c928e749c
16 changed files with 18 additions and 37 deletions

View File

@@ -55,7 +55,7 @@ export default {
})
const applicantEntry = await db.query.guildApps.findFirst({
where: eq(guildApps.userID, applicantId)
where: ({ userID }, { eq }) => eq(userID, applicantId)
})
const applicantUUID = applicantEntry!.uuid
const time = Date.now()