@shushed/helpers 0.0.208 → 0.0.209
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -721,7 +721,9 @@ class CentraHelper extends env_1.default {
|
|
|
721
721
|
}
|
|
722
722
|
else {
|
|
723
723
|
for (const warehouse of warehouses) {
|
|
724
|
-
|
|
724
|
+
if (warehouse.externalId) {
|
|
725
|
+
warehouseToSet[warehouse.externalId] = warehouse;
|
|
726
|
+
}
|
|
725
727
|
}
|
|
726
728
|
await this.set(Object.entries(warehouseToSet).filter(([_, value]) => !(value instanceof Error)).map(([key, value]) => ({ name: this.getCacheKeyForCentraWarehouse(key), value: JSON.stringify(value) })), 'env', {
|
|
727
729
|
ephemeralMs: CACHE_EXPIRATION_MS,
|