chore(workspace): eradicate all tsc errors and eslint warnings across frontend, admin, and backend
Deploy Canina / deploy (push) Failing after 29s

This commit is contained in:
parsa committed 2026-08-07 07:39:26 +03:30
1 parent 4659a7b1de
commit 9f11d8fb2d
98 files changed
+1272 -1009

No files matched your search

+6 -1
View File
@@ -5,6 +5,11 @@ import {
} from '@nestjs/common';
import { PrismaService } from '../prisma/prisma.service';
export interface B2BWholesaleOrderItem {
productId: string;
quantity: number;
}
@Injectable()
export class B2BService {
constructor(private prisma: PrismaService) {}
@@ -61,7 +66,7 @@ export class B2BService {
async createWholesaleOrder(
userId: string,
data: { items: any[]; totalAmount: number },
data: { items: B2BWholesaleOrderItem[]; totalAmount: number },
) {
const partner = await this.prisma.partnerAccount.findUnique({
where: { userId },