diff --git a/backend/services/contribution-service/src/application/services/contribution-calculation.service.ts b/backend/services/contribution-service/src/application/services/contribution-calculation.service.ts index 89ba5bad..7c689301 100644 --- a/backend/services/contribution-service/src/application/services/contribution-calculation.service.ts +++ b/backend/services/contribution-service/src/application/services/contribution-calculation.service.ts @@ -285,7 +285,7 @@ export class ContributionCalculationService { sourceAdoptionId, sourceAccountSequence, unallocated.wouldBeAccountSequence, - unallocated.contributionType, + unallocated.type, unallocated.amount.value.toString(), unallocated.reason, effectiveDate, @@ -293,7 +293,7 @@ export class ContributionCalculationService { ); await this.outboxRepository.save({ aggregateType: UnallocatedContributionSyncedEvent.AGGREGATE_TYPE, - aggregateId: `${sourceAdoptionId}-${unallocated.contributionType}`, + aggregateId: `${sourceAdoptionId}-${unallocated.type}`, eventType: UnallocatedContributionSyncedEvent.EVENT_TYPE, payload: event.toPayload(), });