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": "…"
}
```

View File

@@ -27,6 +27,7 @@ docker run -d \
-e GOOGLE_CLIENT_ID=928121624463-m9du45ek2d5f6p9cke8qpnf89ii9no20.apps.googleusercontent.com \
-e JWT_SECRET=dfhjkswezui32476sdjkhvbn347865 \
-e IMPLICIT_CREATE=true \
-e VHOST_SETTINGS="" \
-e DB_PROVIDER=mssql \
-e MSSQL_DATABASE=dashback \
-e MSSQL_USER=sa \