diff --git a/api/account/account.go b/api/account/account.go index 67c2b38..ba20214 100644 --- a/api/account/account.go +++ b/api/account/account.go @@ -314,6 +314,7 @@ func (a AccountAPI) accountInfo(jc jape.Context) { Email: acct.Email, FirstName: acct.FirstName, LastName: acct.LastName, + Verified: acct.Verified, }) } diff --git a/api/account/messages.go b/api/account/messages.go index 6f85e81..c31f2e0 100644 --- a/api/account/messages.go +++ b/api/account/messages.go @@ -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 { diff --git a/api/account/swagger.yaml b/api/account/swagger.yaml index 3cd5215..1b7777d 100644 --- a/api/account/swagger.yaml +++ b/api/account/swagger.yaml @@ -327,6 +327,8 @@ components: type: string email: type: string + verified: + type: boolean UploadLimitResponse: type: object properties: