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

Commit

Permalink
ASC is apparently not valid direction, but ascending is default anywa…
Browse files Browse the repository at this point in the history
…ys so #quickfix.
  • Loading branch information
sklirg committed Feb 28, 2018
1 parent 6966297 commit 41465ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/models/vote.accessors.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function getVotes(question) {
const issueId = question.id || question;
return Vote.findAll({
where: { issueId },
order: ['createdAt', 'ASC'],
order: ['createdAt'],
}).map(plainObject);
}

Expand Down

0 comments on commit 41465ac

Please sign in to comment.