Files
Foundry-VTT-Docker/resources/app/node_modules/@smithy/util-endpoints/dist-es/utils/getReferenceValue.js
2025-01-04 00:34:03 +01:00

8 lines
201 B
JavaScript

export const getReferenceValue = ({ ref }, options) => {
const referenceRecord = {
...options.endpointParams,
...options.referenceRecord,
};
return referenceRecord[ref];
};