rwadurian/backend/mpc-system/services/account/adapters
hailin cd63643ba4 fix(account): exclude failed sessions when looking up sign session by invite code
When multiple sign sessions share the same invite code (due to retries),
the query now:
1. Excludes failed sessions (status != 'failed')
2. Orders by created_at DESC to get the most recent session
3. Limits to 1 result

This prevents participants from seeing an old failed session's status
when they look up the invite code.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 02:09:18 -08:00
..
input/http fix(account): exclude failed sessions when looking up sign session by invite code 2025-12-31 02:09:18 -08:00
output fix(mpc-system): GetSessionStatus API 返回 threshold_t 和 threshold_n 2025-12-29 12:43:59 -08:00