refractor(norme/prisma): respecting my own norm on prisma client

This commit is contained in:
Raphael 2025-08-16 22:12:32 +02:00
parent f1eb667816
commit 743b6eb266

View file

@ -5,7 +5,9 @@ export default {
name: Events.GuildCreate, name: Events.GuildCreate,
async execute(guild, client) { async execute(guild, client) {
const botData = await prisma.bot.findUnique({ const botData = await prisma.bot.findUnique({
where: { id: 1 }, where: {
id: 1
},
include: { include: {
buyers: true buyers: true
} }