Use supplier.uuid for geo query instead of teamUuid
All checks were successful
Build Docker Image / build (push) Successful in 4m12s
All checks were successful
Build Docker Image / build (push) Successful in 4m12s
This commit is contained in:
@@ -240,7 +240,8 @@ try {
|
|||||||
|
|
||||||
// Get hubs where this supplier can deliver this product
|
// Get hubs where this supplier can deliver this product
|
||||||
if (supplier.value && product.value) {
|
if (supplier.value && product.value) {
|
||||||
const supplierUuidForGeo = supplier.value?.teamUuid || supplier.value?.uuid || supplierId.value
|
// Use supplier.uuid (public) for geo query, not teamUuid (internal)
|
||||||
|
const supplierUuidForGeo = supplier.value?.uuid || supplierId.value
|
||||||
const { data: hubsData } = await useServerQuery(
|
const { data: hubsData } = await useServerQuery(
|
||||||
'supplier-product-hubs',
|
'supplier-product-hubs',
|
||||||
FindSupplierProductHubsDocument,
|
FindSupplierProductHubsDocument,
|
||||||
|
|||||||
Reference in New Issue
Block a user