The adoption stats were showing 0 because the synced_adoptions table contains status values directly from 1.0 system (PAID, POOL_INJECTED, etc.) rather than MINING_ENABLED. Since contribution-service doesn't update the status after calculating contributions, we now count all synced adoptions. Changes: - Remove status filter in getAdoptionStatsForUsers - Remove status filter in getUserDetail adoption queries - Remove status filter in getUserAdoptionStats for referral tree - Add order count display in user detail page Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| nginx | ||
| src | ||
| .env.production | ||
| .gitignore | ||
| DEVELOPMENT_GUIDE.md | ||
| Dockerfile | ||
| deploy.sh | ||
| docker-compose.yml | ||
| next.config.js | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| tailwind.config.js | ||
| tsconfig.json | ||