8 lines
201 B
JavaScript
8 lines
201 B
JavaScript
|
export const getReferenceValue = ({ ref }, options) => {
|
||
|
const referenceRecord = {
|
||
|
...options.endpointParams,
|
||
|
...options.referenceRecord,
|
||
|
};
|
||
|
return referenceRecord[ref];
|
||
|
};
|