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