@zenstackhq/server 3.3.0-beta.5 → 3.3.0

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/api.cjs CHANGED
@@ -1288,7 +1288,7 @@ ${err.stack}` : "Unknown error");
1288
1288
  if (name === externalIdName) {
1289
1289
  if (typeof info.type === "string") {
1290
1290
  return [
1291
- this.requireField(model, info.type)
1291
+ this.requireField(model, name)
1292
1292
  ];
1293
1293
  } else {
1294
1294
  return Object.keys(info).map((f) => this.requireField(model, f));