Don't import Decimal from internal libraries
This was causing the project build to not work properly.
This commit is contained in:
parent
95137acbed
commit
5602c22861
2 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
|||
import { defineEventHandler, readBody, setResponseStatus } from "h3";
|
||||
import { Decimal } from "@prisma/client/runtime/library";
|
||||
import { Prisma } from "@prisma/client";
|
||||
|
||||
import { checkIsWork } from "../../orders.post";
|
||||
import { orderExists } from "../[id].get";
|
||||
|
@ -24,7 +24,7 @@ export default defineEventHandler(async (e) => {
|
|||
notes: body.notes,
|
||||
offerId: BigInt(body.offerId),
|
||||
orderId: BigInt(body.orderId),
|
||||
price: new Decimal(body.price),
|
||||
price: new Prisma.Decimal(body.price),
|
||||
},
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue