docs: sync from backend 91877ae — points legacy-id fix (v2.8.63)

This commit is contained in:
moojttaba
2026-06-03 11:41:21 +03:30
parent 23c4a717ba
commit f68b54a9ef

View File

@@ -758,4 +758,13 @@ user → tap red badge → enter emailed code → badge turns green.
--- ---
### 2026-06-03 — backend@91877ae — points lookups accept legacy user ids (v2.8.63)
**Why:** Mini App points view (v2.8.64) failed: every user lookup in DrizzlePointsRepo compared
users.id (uuid) against the JWT legacy 24-hex id → uuid cast error → 500. All lookups now match
either format (id::text = $n OR legacy_object_id = $n).
**Verification:** tsc clean, tests green. Test after deploy: Mini App → حساب → امتیازات shows data.
---
<!-- Add new entries above this line. Newest at top. --> <!-- Add new entries above this line. Newest at top. -->