BIG FIX: profile save + sport classification + KUD separation
1) auth/auth_v2.py — update_me bug fix: PUT /auth/me return value was 'return me(user)' but me() is a FastAPI route handler, not callable directly. Replaced with explicit re-fetch returning correct JSON shape. Profile changes now persist in UI after save. 2) DB: HNK Goranin Delnice (id 782) sport='skijanje' → 'nogomet' + napomena cross-contamination cleaned (id 782, 192, 347, 2280) + general rule: NK/HNK/Nogometni klub → nogomet + RK/Rukometni klub → rukomet + OK/Odbojkaški klub → odbojka 3) DB: KUD/folklorne/lovačke/vatrogasne udruge marked as sport='kulturno-umjetnicko' + razina='NE-sportsko' so frontend can filter them out of sportski savezi list 4) Backup: pgz_sport.klubovi_backup_20260505_0857 Verified: PUT /auth/me with damir@pgz.hr persists telefon change to DB and returns fresh data
This commit is contained in:
@@ -0,0 +1 @@
|
||||
Test dokument za upload — Pravilnik o sportu 2026
|
||||
Reference in New Issue
Block a user