@objectstack/plugin-approvals 10.2.0 → 11.0.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/index.mjs CHANGED
@@ -2304,7 +2304,7 @@ var _ApprovalService = class _ApprovalService {
2304
2304
  const fields = schema?.fields ?? {};
2305
2305
  const out = [];
2306
2306
  for (const [key, f] of Object.entries(fields)) {
2307
- if ((f?.type === "lookup" || f?.type === "master_detail") && f?.reference) {
2307
+ if ((f?.type === "lookup" || f?.type === "master_detail" || f?.type === "user") && f?.reference) {
2308
2308
  out.push({ key, reference: String(f.reference) });
2309
2309
  }
2310
2310
  }