mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-16 02:05:04 +01:00
9 lines
154 B
JavaScript
9 lines
154 B
JavaScript
import prisma from 'lib/prisma';
|
|
|
|
export async function updateWebsite(data, where) {
|
|
return prisma.client.website.update({
|
|
where,
|
|
data,
|
|
});
|
|
}
|