diff options
Diffstat (limited to 'lib/techsales-rfq/service.ts')
| -rw-r--r-- | lib/techsales-rfq/service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/techsales-rfq/service.ts b/lib/techsales-rfq/service.ts index ffa29acd..e658747b 100644 --- a/lib/techsales-rfq/service.ts +++ b/lib/techsales-rfq/service.ts @@ -531,7 +531,7 @@ export async function sendTechSalesRfqToVendors(input: { const vendorQuotations = await db.query.techSalesVendorQuotations.findMany({ where: and( eq(techSalesVendorQuotations.rfqId, input.rfqId), - sql`${techSalesVendorQuotations.vendorId} IN (${input.vendorIds.join(',')})` + inArray(techSalesVendorQuotations.vendorId, input.vendorIds) ), columns: { id: true, |
