umami/queries/admin/user/updateUser.js

9 lines
148 B
JavaScript
Raw Normal View History

2022-11-01 07:42:37 +01:00
import prisma from 'lib/prisma';
export async function updateUser(data, where) {
return prisma.client.user.update({
where,
data,
});
}