feat: now GetUser returnes all the image info
This commit is contained in:
parent
673ce48fac
commit
3aafab36c2
6 changed files with 63 additions and 33 deletions
|
|
@ -124,9 +124,6 @@ type TitleStatus string
|
|||
|
||||
// User defines model for User.
|
||||
type User struct {
|
||||
// AvatarId ID of the user avatar (references images table)
|
||||
AvatarId *int64 `json:"avatar_id,omitempty"`
|
||||
|
||||
// CreationDate Timestamp when the user was created
|
||||
CreationDate *time.Time `json:"creation_date,omitempty"`
|
||||
|
||||
|
|
@ -134,7 +131,8 @@ type User struct {
|
|||
DispName *string `json:"disp_name,omitempty"`
|
||||
|
||||
// Id Unique user ID (primary key)
|
||||
Id *int64 `json:"id,omitempty"`
|
||||
Id *int64 `json:"id,omitempty"`
|
||||
Image *Image `json:"image,omitempty"`
|
||||
|
||||
// Mail User email
|
||||
Mail *openapi_types.Email `json:"mail,omitempty"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue