fixes before merge

This commit is contained in:
Dapoolp 2025-06-10 23:54:30 +02:00
parent edaf5df9e0
commit 2e83bb4a16
2 changed files with 2 additions and 3 deletions

View file

@ -24,7 +24,7 @@ export default class ForeignDocumentUUIDField extends foundry.data.fields.Docume
/**@override */
initialize(value, _model, _options = {}) {
if (this.idOnly) return value;
return (() => {
return () => {
try {
const doc = fromUuidSync(value);
return doc;
@ -32,7 +32,7 @@ export default class ForeignDocumentUUIDField extends foundry.data.fields.Docume
console.error(error);
return value ?? null;
}
})();
};
}
/**@override */