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:
rene 2026-05-30 09:40:25 +02:00
parent bfd327bd40
commit 5bac31109d
3 changed files with 11 additions and 4 deletions

View file

@ -26,10 +26,10 @@ struct SettingsView: View {
Section("Account") {
LabeledContent("Rolle", value: rolleLabel)
if auth.profile?.isFounder == true {
if auth.profile?.isFounderFlag == true {
LabeledContent("Founder", value: founderLabel)
}
if auth.profile?.isPartner == true {
if auth.profile?.isPartnerFlag == true {
LabeledContent("Partner", value: "Ja")
}
if let tier = auth.profile?.subscriptionTier, !tier.isEmpty {