Fix: /me Endpoint gibt is_founder/is_partner/founder_number zurück — SW by-v558

This commit is contained in:
rene 2026-04-30 15:35:48 +02:00
parent 105262eff3
commit 3373c19cdc
3 changed files with 4 additions and 3 deletions

View file

@ -197,7 +197,8 @@ async def me(user=Depends(get_current_user)):
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,
is_founder, is_partner, founder_number
FROM users WHERE id=?""",
(user["id"],)
).fetchone()

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung.
============================================================ */
const APP_VER = '534'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VER = '535'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VERSION = '1.1.2'; // ← semantische Version, wird bei make release gesetzt
const IS_STAGING = location.hostname === 'staging.banyaro.app';

View file

@ -3,7 +3,7 @@
Offline-Cache + Push Notifications + Tile-Cache
============================================================ */
const CACHE_VERSION = 'by-v557';
const CACHE_VERSION = 'by-v558';
const CACHE_STATIC = `${CACHE_VERSION}-static`;
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache