Add player self service routes for deletion#877
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #877 +/- ##
===========================================
+ Coverage 97.07% 97.10% +0.02%
===========================================
Files 390 397 +7
Lines 6184 6243 +59
Branches 795 806 +11
===========================================
+ Hits 6003 6062 +59
- Misses 94 95 +1
+ Partials 87 86 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
PR Review: Add player self service routes for deletionOverall this is a well-structured PR. The refactoring of handlers into standalone functions ( Potential Bugs
In if (!alias.player.auth) return handleFailedLogin(ctx)The new shared assert(alias.player.auth)If if (!alias.player.auth) {
return { status: 401, body: { message: 'Incorrect identifier or password', errorCode: 'INVALID_CREDENTIALS' } }
}Minor
const sqids = new Sqids({ minLength: 8 })SecurityNo issues found. The public session JWT uses a distinct audience ( Test CoverageNo issues found. Cross-game isolation, rollback on ClickHouse failure, invalid tokens, and missing auth cases are all well covered. |
a927192 to
c781165
Compare
d568d4f to
dfcfa26
Compare
dfcfa26 to
c5355a0
Compare
No description provided.