Skip to content

Commit

Permalink
fix(twitch): remove unnecessary fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Zibbp committed Feb 13, 2023
1 parent 8b8ffb9 commit 47727d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/twitch/category.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func SetTwitchCategories() error {
// Returns a different number of categories each time it is called for some reason
func GetCategories() ([]TwitchCategory, error) {
client := &http.Client{}
req, err := http.NewRequest("GET", fmt.Sprintf("https://api.twitch.tv/helix/games/top?first=100"), nil)
req, err := http.NewRequest("GET", "https://api.twitch.tv/helix/games/top?first=100", nil)
if err != nil {
return nil, fmt.Errorf("failed to create request: %v", err)
}
Expand Down

0 comments on commit 47727d4

Please sign in to comment.