mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +01:00
12 lines
211 B
JavaScript
12 lines
211 B
JavaScript
import { prisma, runQuery } from 'lib/db';
|
|
|
|
export async function getWebsiteByUuid(website_uuid) {
|
|
return runQuery(
|
|
prisma.website.findUnique({
|
|
where: {
|
|
website_uuid,
|
|
},
|
|
}),
|
|
);
|
|
}
|