umami/queries/admin/account/updateAccount.js
2022-10-12 13:11:44 -07:00

9 lines
154 B
JavaScript

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