mirror of
https://github.com/crunchy-labs/crunchy-cli.git
synced 2026-01-21 12:12:00 -06:00
Fix typo
This commit is contained in:
parent
3a7ec02598
commit
35b1cbbdb4
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
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",
|
tenantCategoriesEndpoint := fmt.Sprintf("https://beta.crunchyroll.com/content/v1/tenant_categories?include_subcategories=%t&locale=%s",
|
||||||
includeSubcategories, c.Locale)
|
includeSubcategories, c.Locale)
|
||||||
resp, err := c.request(tenantCategoriesEndpoin, http.MethodGet)
|
resp, err := c.request(tenantCategoriesEndpoint, http.MethodGet)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue