fix: wrong instance use
This commit is contained in:
parent
3b045ecf50
commit
6c70966a21
1 changed files with 2 additions and 1 deletions
|
|
@ -268,7 +268,8 @@ export class ServiceController extends Controller {
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
return await prisma.service.update({
|
|
||||||
|
return await tx.service.update({
|
||||||
data: {
|
data: {
|
||||||
...payload,
|
...payload,
|
||||||
work: {
|
work: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue