Skip to content
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.

Commit

Permalink
Fix due date sort
Browse files Browse the repository at this point in the history
  • Loading branch information
muffinresearch committed Apr 26, 2017
1 parent 7f05ff0 commit e107e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function getMilestones(repo, _alert=window.alert) {
if (REPOS.includes(repo)) {
const headers = new Headers();
headers.set('Content-Type', 'application/json');
return fetch(`${GITHUB_API_ROOT}/repos/${GITHUB_ORG}/${encodeURIComponent(repo)}/milestones?sort=due_on&direction=desc`, {
return fetch(`${GITHUB_API_ROOT}/repos/${GITHUB_ORG}/${encodeURIComponent(repo)}/milestones?sort=due_date&direction=asc`, {
headers: new Headers({
'Content-Type': 'application/json',
})
Expand Down

0 comments on commit e107e97

Please sign in to comment.