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

10 lines
176 B
JavaScript

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