Skip to content

Commit

Permalink
fix: update template transformers for fields informantType, `otherI…
Browse files Browse the repository at this point in the history
…nformantType`
  • Loading branch information
tahmidrahman-dsi committed Oct 28, 2024
1 parent 7aa4d62 commit 499afcd
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/utils/mapping/field-mapping-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,17 @@ export function getFieldMapping(
},
template: {
fieldName: certificateHandlebar,
operation: 'selectTransformer'
operation: 'fieldValueTransformer',
parameters: ['relationship']
}
}
case 'otherInformantType':
return {
template: {
fieldName: certificateHandlebar,
operation: 'fieldValueTransformer',
parameters: ['otherRelationship']
},
mutation: {
operation: 'fieldValueSectionExchangeTransformer',
parameters: ['registration', 'otherInformantType']
Expand Down

0 comments on commit 499afcd

Please sign in to comment.