Skip to content

Commit

Permalink
Quick fix for missing avatar prop (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
auggod authored Oct 14, 2023
1 parent 909c2d8 commit 8b674fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/initial_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
type UserGroup struct {
ID string `json:"id"`
DisplayName string `json:"displayName"`
Avatar string `json:"avatar"`
}

// Profile user public profile
Expand Down Expand Up @@ -52,6 +53,7 @@ func NewProfile(
usergroupList = append(usergroupList, UserGroup{
ID: usergroups[i].ID,
DisplayName: usergroups[i].DisplayName,
Avatar: usergroups[i].Avatar,
})
}

Expand Down

0 comments on commit 8b674fd

Please sign in to comment.