umami/queries/admin/website/getWebsite.js
2022-10-06 14:18:27 -07:00

8 lines
139 B
JavaScript

import prisma from 'lib/prisma';
export async function getWebsite(where) {
return prisma.client.website.findUnique({
where,
});
}