Updated styling

Signed-off-by: Louis Hollingworth <louis@hollingworth.nl>
This commit is contained in:
Louis Hollingworth 2023-09-21 10:45:11 +01:00
parent 20f681aa3c
commit 7ba84dd020
Signed by: lucxjo
GPG key ID: A11415CB3DC7809B
14 changed files with 2497 additions and 2316 deletions

11
lib/getUser.ts Normal file
View file

@ -0,0 +1,11 @@
import { prisma } from "~/server"
export const getUserByDiscordId = async (discord_id: string) => {
const user = await prisma.user.findUnique({
where: {
discord_id
}
})
return user
}