@whiplashmerch/whiplash-api-client 3.1.12 → 3.1.13
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.
package/dist/client.esm.js
CHANGED
|
@@ -41499,7 +41499,7 @@ const loadRelatedObjects = async (client, input, config, perPage = 25) => {
|
|
|
41499
41499
|
const cacheKey = conf.cacheKey || conf.entityKey;
|
|
41500
41500
|
if (modelCacheMap[cacheKey] === undefined)
|
|
41501
41501
|
modelCacheMap[cacheKey] = {};
|
|
41502
|
-
// there is an ongoing promise related to this cache, wait for it to end before reusing it
|
|
41502
|
+
// there is an ongoing promise related to this cache, wait for it to end before reusing it
|
|
41503
41503
|
if (promiseMap[cacheKey] !== undefined)
|
|
41504
41504
|
await promiseMap[cacheKey];
|
|
41505
41505
|
let p;
|