fix: use correct property name 'type' for unallocated contribution
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
0241930011
commit
f22c3efb11
|
|
@ -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(),
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue