fix: wrong instance use

This commit is contained in:
Methapon2001 2024-06-21 14:23:03 +07:00
parent 3b045ecf50
commit 6c70966a21

View file

@ -268,7 +268,8 @@ export class ServiceController extends Controller {
}),
),
);
return await prisma.service.update({
return await tx.service.update({
data: {
...payload,
work: {