fix: transaction ended before create
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 5s

This commit is contained in:
Methapon2001 2025-09-19 09:11:21 +07:00
parent e8278b6af3
commit a33983c530

View file

@ -304,7 +304,7 @@ export class ProductController extends Controller {
const listId = await flowAccount.createProducts(body);
return await prisma.product.create({
return await tx.product.create({
include: {
createdBy: true,
updatedBy: true,