Skip to content

Commit

Permalink
fix: return by slug
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie committed Jun 17, 2024
1 parent 0c64d7f commit 5c9e19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ type GothUser struct {
}

// TeamBySlug is returning the team with the given ID.
func (u *GothUser) TeamBySlug(slug string) GothTeam {
func (u GothUser) TeamBySlug(slug string) GothTeam {
for _, team := range *u.Teams {
if team.Slug == slug {
return team
Expand Down

0 comments on commit 5c9e19c

Please sign in to comment.