umami/queries/admin/website/getWebsite.js

8 lines
139 B
JavaScript
Raw Normal View History

2022-10-06 23:18:27 +02:00
import prisma from 'lib/prisma';
export async function getWebsite(where) {
return prisma.client.website.findUnique({
where,
});
2022-10-06 23:18:27 +02:00
}