umami/queries/admin/website/updateWebsite.js
2022-10-07 17:13:03 -07:00

9 lines
154 B
JavaScript

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