Compare commits
2 Commits
23f462773f
...
d40a954b67
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | d40a954b67 | |
Derrick Hammer | c2d4ea7847 |
|
@ -314,6 +314,7 @@ func (a AccountAPI) accountInfo(jc jape.Context) {
|
||||||
Email: acct.Email,
|
Email: acct.Email,
|
||||||
FirstName: acct.FirstName,
|
FirstName: acct.FirstName,
|
||||||
LastName: acct.LastName,
|
LastName: acct.LastName,
|
||||||
|
Verified: acct.Verified,
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,6 +53,7 @@ type AccountInfoResponse struct {
|
||||||
Email string `json:"email"`
|
Email string `json:"email"`
|
||||||
FirstName string `json:"first_name"`
|
FirstName string `json:"first_name"`
|
||||||
LastName string `json:"last_name"`
|
LastName string `json:"last_name"`
|
||||||
|
Verified bool `json:"verified"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UploadLimitResponse struct {
|
type UploadLimitResponse struct {
|
||||||
|
|
|
@ -318,6 +318,12 @@ components:
|
||||||
type: string
|
type: string
|
||||||
AccountInfoResponse:
|
AccountInfoResponse:
|
||||||
type: object
|
type: object
|
||||||
|
required:
|
||||||
|
- id
|
||||||
|
- first_name
|
||||||
|
- last_name
|
||||||
|
- email
|
||||||
|
- verified
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
type: number
|
type: number
|
||||||
|
@ -327,6 +333,8 @@ components:
|
||||||
type: string
|
type: string
|
||||||
email:
|
email:
|
||||||
type: string
|
type: string
|
||||||
|
verified:
|
||||||
|
type: boolean
|
||||||
UploadLimitResponse:
|
UploadLimitResponse:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|
Loading…
Reference in New Issue