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