fix: typo
This commit is contained in:
parent
f7c916b84a
commit
2c6586d9ee
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ export class ProductType extends Controller {
|
||||||
update: { value: { increment: 1 } },
|
update: { value: { increment: 1 } },
|
||||||
});
|
});
|
||||||
|
|
||||||
return await tx.productGroup.create({
|
return await tx.productType.create({
|
||||||
data: {
|
data: {
|
||||||
...body,
|
...body,
|
||||||
code: `T${productGroup.code}${last.value.toString().padStart(2, "0")}`,
|
code: `T${productGroup.code}${last.value.toString().padStart(2, "0")}`,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue