This commit is contained in:
seb
2026-10-30 16:10:07 +01:00
parent ab6fcc107f
commit 02301ff172
7 changed files with 28 additions and 5 deletions

View File

@@ -235,7 +235,7 @@ _none_
- Returns: `200 { message: str }`
#### Current user — `GET /auth/me`
_none_
- Returns: `200 { user: T32, googleClientId: str, schemaVersion: int }`
- Returns: `200 { user: T32, googleClientId: str, schemaVersion: int, vhost: bool, vhostSettings: str }`
#### Set selected company — `PUT /auth/selected-company`
- Params: `body: { companyId: int }`
- Returns: `200 { user: T32 }`

View File

@@ -22,7 +22,9 @@ Authenticated
"picture": "…"
},
"googleClientId": "…",
"schemaVersion": 1
"schemaVersion": 1,
"vhost": true,
"vhostSettings": "…"
}
```