refactor: add verified to account info

This commit is contained in:
Derrick Hammer 2024-03-26 16:43:43 -04:00
parent 23f462773f
commit c2d4ea7847
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
3 changed files with 4 additions and 0 deletions

View File

@ -314,6 +314,7 @@ func (a AccountAPI) accountInfo(jc jape.Context) {
Email: acct.Email,
FirstName: acct.FirstName,
LastName: acct.LastName,
Verified: acct.Verified,
})
}

View File

@ -53,6 +53,7 @@ type AccountInfoResponse struct {
Email string `json:"email"`
FirstName string `json:"first_name"`
LastName string `json:"last_name"`
Verified bool `json:"verified"`
}
type UploadLimitResponse struct {

View File

@ -327,6 +327,8 @@ components:
type: string
email:
type: string
verified:
type: boolean
UploadLimitResponse:
type: object
properties: