Change so that we no longer default to best sort order and instead use subreddit default
This commit is contained in:
parent
faab33ab2e
commit
aa3b1771e7
|
@ -163,12 +163,7 @@ public final class RedditFeedProvider: FeedProvider {
|
|||
return
|
||||
}
|
||||
|
||||
let api: String
|
||||
if urlComponents.path == "" || urlComponents.path == "/" {
|
||||
api = "/best.json"
|
||||
} else {
|
||||
api = "\(urlComponents.path).json"
|
||||
}
|
||||
let api = "\(urlComponents.path).json"
|
||||
|
||||
let splitPath = urlComponents.path.split(separator: "/")
|
||||
let identifySubreddit: Bool
|
||||
|
|
Loading…
Reference in New Issue