u
This commit is contained in:
@@ -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 }`
|
||||
|
||||
@@ -22,7 +22,9 @@ Authenticated
|
||||
"picture": "…"
|
||||
},
|
||||
"googleClientId": "…",
|
||||
"schemaVersion": 1
|
||||
"schemaVersion": 1,
|
||||
"vhost": true,
|
||||
"vhostSettings": "…"
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user