umami/queries/admin/website/getWebsiteById.js
2022-08-27 21:38:35 -07:00

10 lines
175 B
JavaScript

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