sf-crud 12.0.1-beta24 → 12.0.1-beta25

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.
@@ -619,7 +619,8 @@
619
619
  endpoint = endpoint.replace(key.key, _this.idKatios);
620
620
  break;
621
621
  default:
622
- endpoint = endpoint.replace(key.key, jsonpath__namespace.query(data, (key === null || key === void 0 ? void 0 : key.scope) || '')[0]);
622
+ if (endpoint.includes(key.key) && data)
623
+ endpoint = endpoint.replace(key.key, jsonpath__namespace.query(data, (key === null || key === void 0 ? void 0 : key.scope) || '')[0]);
623
624
  break;
624
625
  }
625
626
  });