u
This commit is contained in:
@@ -73,6 +73,9 @@
|
||||
* type: integer
|
||||
* email:
|
||||
* type: string
|
||||
* picture:
|
||||
* type: string
|
||||
* nullable: true
|
||||
* role:
|
||||
* type: string
|
||||
* enum: [admin, user]
|
||||
|
||||
@@ -237,15 +237,7 @@ export function register(app, basePath = '') {
|
||||
* type: object
|
||||
* properties:
|
||||
* companyuser:
|
||||
* type: object
|
||||
* properties:
|
||||
* id:
|
||||
* type: integer
|
||||
* googleAuthId:
|
||||
* type: integer
|
||||
* role:
|
||||
* type: string
|
||||
* enum: [admin, user]
|
||||
* $ref: '#/components/schemas/CompanyUser'
|
||||
* 400:
|
||||
* description: Invalid id, role or no company selected
|
||||
* content:
|
||||
|
||||
Reference in New Issue
Block a user