Skip to content

Commit

Permalink
Using API correctly.
Browse files Browse the repository at this point in the history
Shouldn't make a practical difference.
  • Loading branch information
erikdoe committed May 18, 2024
1 parent 1b60130 commit d88f533
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CCMenu/Source/Server Monitor/GitHubAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class GitHubAPI {
}

static func requestForFeed(feed: Pipeline.Feed, token: String?) -> URLRequest? {
guard var components = URLComponents(url: feed.url, resolvingAgainstBaseURL: false) else { return nil }
guard var components = URLComponents(url: feed.url, resolvingAgainstBaseURL: true) else { return nil }
components.appendQueryItem(URLQueryItem(name: "per_page", value: "3"))
return makeRequest(url: components.url!.absoluteURL, token: token)
}
Expand Down

0 comments on commit d88f533

Please sign in to comment.