fix(user edit): fix user edit not being able to be saved (#651)

Co-authored-by: sct <sctsnipe@gmail.com>
This commit is contained in:
Jakob Ankarhem
2021-01-15 04:05:58 +01:00
committed by GitHub
parent 23624bd144
commit b04d00ef50
7 changed files with 15 additions and 13 deletions

View File

@@ -23,11 +23,13 @@ components:
userType:
type: integer
example: 1
readOnly: true
permissions:
type: number
example: 0
avatar:
type: string
readOnly: true
createdAt:
type: string
example: '2020-09-02T05:02:23.000Z'
@@ -47,9 +49,7 @@ components:
$ref: '#/components/schemas/MediaRequest'
required:
- id
- userType
- email
- permissions
- createdAt
- updatedAt
MainSettings: