rwadurian/backend/services/contribution-service/src
hailin 1b3704b68d fix(contribution-service): fix property mapping in toDto method
The toDto method was accessing non-existent properties on ContributionAccountAggregate:
- teamLevelContribution -> totalLevelPending
- teamBonusContribution -> totalBonusPending
- totalContribution -> effectiveContribution
- isCalculated -> true (always calculated when account exists)
- lastCalculatedAt -> updatedAt

This was causing "Cannot read properties of undefined (reading 'value')" error
on GET /api/v2/contribution/accounts/{accountSequence}

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 12:17:31 -08:00
..
api feat(contribution): fix pending fields update and add network progress tracking 2026-01-12 07:26:32 -08:00
application fix(contribution-service): fix property mapping in toDto method 2026-01-12 12:17:31 -08:00
domain feat(contribution): display distribution details with actual amounts 2026-01-12 09:23:02 -08:00
infrastructure feat(contribution): display distribution details with actual amounts 2026-01-12 09:23:02 -08:00
shared fix(contribution-service): 修复JWT验证与auth-service不兼容 2026-01-11 18:18:21 -08:00
app.module.ts feat(contribution-service): 添加算力管理微服务 2026-01-10 17:39:25 -08:00
main.ts fix(contribution-service): 统一使用api/v2前缀 2026-01-11 09:05:42 -08:00