summaryrefslogtreecommitdiff
path: root/lib/b-rfq/service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'lib/b-rfq/service.ts')
-rw-r--r--lib/b-rfq/service.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/b-rfq/service.ts b/lib/b-rfq/service.ts
index 2ef57b34..896a082d 100644
--- a/lib/b-rfq/service.ts
+++ b/lib/b-rfq/service.ts
@@ -1180,6 +1180,7 @@ export async function getVendorsForSelection() {
// )
.orderBy(vendors.vendorName)
+
return vendorsData.map(vendor => ({
id: vendor.id,
vendorName: vendor.vendorName || "",
@@ -1188,7 +1189,7 @@ export async function getVendorsForSelection() {
status: vendor.status,
}))
} catch (error) {
- console.error("Error fetching vendors:", error)
+ console.log("Error fetching vendors:", error)
throw new Error("Failed to fetch vendors")
}
}