Skip to content

Commit

Permalink
Fix 7tv API URL (#307)
Browse files Browse the repository at this point in the history
* Fix 7tv API URL

* Update changelog
  • Loading branch information
Leppunen authored Apr 21, 2022
1 parent 84d4f9d commit aaa14ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- Breaking: Go version 1.17 is now the minimum required version to build this. (#292)
- Breaking: Resolver caches are now stored in PostgreSQL. See [docs/build.md](./docs/build.md) for prerequisite instructions. (#271)
- YouTube: Added support for 'YouTube shorts' URLs. (#299)
- Fix: SevenTV emotes now resolve correctly. (#281, #288)
- Fix: SevenTV emotes now resolve correctly. (#281, #288, #307)
- Fix: YouTube videos are no longer resolved as channels. (#284)
- Dev: Improve BetterTTV emote tests. (#282)
- Minor: BetterTTV cache key changed from plural to singular form. (#282)
Expand Down
2 changes: 1 addition & 1 deletion internal/resolvers/seventv/initialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ var (
)

func Initialize(ctx context.Context, cfg config.APIConfig, pool db.Pool, resolvers *[]resolver.Resolver) {
apiURL := utils.MustParseURL("https://7tv.app/v2/gql")
apiURL := utils.MustParseURL("https://api.7tv.app/v2/gql")

*resolvers = append(*resolvers, NewEmoteResolver(ctx, cfg, pool, apiURL))
}

0 comments on commit aaa14ca

Please sign in to comment.