@labdigital/commercetools-mock 2.23.0 → 2.23.1

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/index.js CHANGED
@@ -3228,7 +3228,11 @@ var CustomObjectRepository = class extends AbstractResourceRepository {
3228
3228
  ...params,
3229
3229
  where: whereClause
3230
3230
  });
3231
- result.results = result.results.map(this.postProcessResource);
3231
+ result.results = result.results.map(
3232
+ (r) => this.postProcessResource(context, r, {
3233
+ expand: params.expand
3234
+ })
3235
+ );
3232
3236
  return result;
3233
3237
  }
3234
3238
  };