mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 18:54:11 +00:00
Improve settings
This commit is contained in:
@@ -169,7 +169,7 @@ final class InvidiousAPI: Service, ObservableObject, VideosAPI {
|
||||
|
||||
func trending(country: Country, category: TrendingCategory?) -> Resource {
|
||||
resource(baseURL: account.url, path: "\(InvidiousAPI.basePath)/trending")
|
||||
.withParam("type", category!.name)
|
||||
.withParam("type", category?.name)
|
||||
.withParam("region", country.rawValue)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user