refractor(norme/prisma): respecting my own norm on prisma client
This commit is contained in:
parent
f1eb667816
commit
743b6eb266
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue