From 35b1cbbdb42328d848fbef5ff3d6f157f9923297 Mon Sep 17 00:00:00 2001 From: ByteDream <63594396+ByteDream@users.noreply.github.com> Date: Mon, 30 May 2022 12:27:20 +0200 Subject: [PATCH] Fix typo --- crunchyroll.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crunchyroll.go b/crunchyroll.go index e5c4a9d..5154c9c 100644 --- a/crunchyroll.go +++ b/crunchyroll.go @@ -568,7 +568,7 @@ func (c *Crunchyroll) Browse(options BrowseOptions, limit uint) (s []*Series, m func (c *Crunchyroll) Categories(includeSubcategories bool) (ca []*Category, err error) { tenantCategoriesEndpoint := fmt.Sprintf("https://beta.crunchyroll.com/content/v1/tenant_categories?include_subcategories=%t&locale=%s", includeSubcategories, c.Locale) - resp, err := c.request(tenantCategoriesEndpoin, http.MethodGet) + resp, err := c.request(tenantCategoriesEndpoint, http.MethodGet) if err != nil { return nil, err }