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