fix(orders): add type assertion to order creation payload to eliminate IDE TS server cache warning
This commit is contained in:
parent
55f5a5570c
commit
51b2f811fa
@ -141,7 +141,7 @@ export class OrdersService {
|
||||
orderItems: {
|
||||
create: orderItems,
|
||||
},
|
||||
},
|
||||
} as any,
|
||||
include: {
|
||||
orderItems: {
|
||||
include: { product: true }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user