b95b2e8423
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
13 lines
276 B
JSON
13 lines
276 B
JSON
{
|
|
"dup_groups": 3,
|
|
"merged": 3,
|
|
"soft_deleted": 3,
|
|
"errors": 0,
|
|
"fk_rows_reparented_total": 0,
|
|
"fk_rows_already_on_auth": 33,
|
|
"fk_conflicts_skipped": 0,
|
|
"before_clanovi": 3243,
|
|
"after_clanovi": 3240,
|
|
"clanovi_purged_total": 3,
|
|
"remaining_dup_groups": 0
|
|
} |