Skip to content

Commit

Permalink
Fix a typo in the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
josephspurrier committed Jul 7, 2018
1 parent d476bb9 commit 92c474d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ func (p *Endpoint) Index(w http.ResponseWriter, r *http.Request) (int, error) {
u := store.NewUser(p.DB, p.Q)

// Get all items.
results := make(store.TUserGroup, 0)
results := make(store.UserGroup, 0)
_, err := u.FindAll(&results)
if err != nil {
return http.StatusInternalServerError, err
Expand All @@ -321,7 +321,7 @@ func (p *Endpoint) Index(w http.ResponseWriter, r *http.Request) (int, error) {
// Required: true
Status string `json:"status"`
// Required: true
Data store.TUserGroup `json:"data"`
Data store.UserGroup `json:"data"`
}
}

Expand Down

0 comments on commit 92c474d

Please sign in to comment.