umami/queries/admin/website/resetWebsite.js
2022-08-25 22:20:30 -07:00

6 lines
192 B
JavaScript

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