mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-16 21:39:40 +02:00
Update consumers to call the new standalone mana-credits service instead of the credit endpoints embedded in mana-core-auth. Changes: - CreditClientService: Add getCreditsUrl() reading MANA_CREDITS_URL (falls back to MANA_CORE_AUTH_URL for backward compatibility). All credit calls now use /api/v1/internal/* endpoints. - BetterAuthService: Replace direct DB inserts for credit balance and guild pool init with HTTP calls to mana-credits internal API. Replace local gift redemption with HTTP call. - .env.development: Add MANA_CREDITS_URL=http://localhost:3060 - CLAUDE.md: Add mana-credits to services list Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||