mirror of
https://github.com/kremalicious/umami.git
synced 2025-01-13 06:34:52 +01:00
6 lines
184 B
JavaScript
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}`);
|
|
}
|