mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
10 lines
170 B
JavaScript
10 lines
170 B
JavaScript
import prisma from 'lib/prisma';
|
|
|
|
export async function updateWebsite(id, data) {
|
|
return prisma.client.website.update({
|
|
where: {
|
|
id,
|
|
},
|
|
data,
|
|
});
|
|
}
|