Fix /me-Decoding: is_founder/is_partner kommen als SQLite-Int 0/1, nicht Bool
Das Backend bool-konvertiert nur is_premium explizit; alle anderen 0/1-Spalten gehen unverändert durch FastAPI. Decode-Fehler vorher still verschluckt → jetzt auch geloggt, damit das nicht nochmal passiert.
This commit is contained in:
parent
bfd327bd40
commit
5bac31109d
3 changed files with 11 additions and 4 deletions
|
|
@ -62,6 +62,8 @@ final class AuthSession {
|
|||
}
|
||||
} catch {
|
||||
// Profil-Refresh ist non-critical; Settings zeigt sonst nur die Basics.
|
||||
// Loggen ist trotzdem nützlich, damit Decode-Fehler nicht stillschweigend untergehen.
|
||||
print("loadProfile failed: \(error)")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue