Feat: Rechnungsadresse — Profil, Upgrade-Modal Hinweis, Rechnung-erstellen-Button in Upgrade-Cards (SW by-v967)
This commit is contained in:
parent
95b70d5119
commit
0a466ef6ce
9 changed files with 89 additions and 20 deletions
|
|
@ -28,6 +28,7 @@ class ProfileUpdate(BaseModel):
|
|||
notes_ki_enabled: Optional[int] = None
|
||||
gassi_stunde_push: Optional[int] = None
|
||||
preferred_theme: Optional[str] = None
|
||||
billing_address: Optional[str] = None
|
||||
|
||||
|
||||
def _load_user(user_id: int) -> dict:
|
||||
|
|
@ -35,7 +36,7 @@ def _load_user(user_id: int) -> dict:
|
|||
row = conn.execute(
|
||||
"""SELECT id, name, real_name, email, rolle, is_premium, email_verified,
|
||||
bio, wohnort, erfahrung, social_link,
|
||||
profil_sichtbarkeit, avatar_url, created_at
|
||||
profil_sichtbarkeit, avatar_url, created_at, billing_address
|
||||
FROM users WHERE id=?""",
|
||||
(user_id,)
|
||||
).fetchone()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue