Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Mike Cao 2023-05-30 16:53:12 -07:00
commit 450c11a1da

View File

@ -50,6 +50,9 @@ export async function resetWebsite(
const { client, transaction } = prisma;
return transaction([
client.eventData.deleteMany({
where: { websiteId },
}),
client.websiteEvent.deleteMany({
where: { websiteId },
}),