umami/queries/admin/website/resetWebsite.js
2022-07-15 16:47:38 -07:00

6 lines
184 B
JavaScript

import { prisma, runQuery } from 'lib/db';
export async function resetWebsite(website_id) {
return runQuery(prisma.$queryRaw`delete from session where website_id=${website_id}`);
}