Skip to content

Commit

Permalink
Fixed System API
Browse files Browse the repository at this point in the history
* Fixed Minor Syntax Error
* Version 0.13.40
  • Loading branch information
aneesh-neelam committed Feb 22, 2015
1 parent 3ba555c commit 27995f4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ exports.get = function (app, data, callback) {
clientCollection.findOne({}, keys, asyncCallback);
},
message: function (asyncCallback) {
messageCollection.find({}, {limit: 10, sort: ['_id', ['desc']}).toArray(asyncCallback);
messageCollection.find({}, {limit: 10, sort: [['datefield', 'asc']]}).toArray(asyncCallback);
}
};
var onFetch = function (err, results) {
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "VITacademics",
"version": "0.13.39",
"version": "0.13.40",
"description": "VITacademics Backend and Web App",
"bugs": {
"url": "https://github.com/aneesh-neelam/VITacademics/issues",
Expand Down
2 changes: 1 addition & 1 deletion newrelic.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ exports.config = {
logging: {
level: 'info'
},
capture_params : true
capture_params: true
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "VITacademics",
"version": "0.13.39",
"version": "0.13.40",
"description": "VITacademics Backend and Web App",
"homepage": "https://vitacademics-dev.herokuapp.com/",
"bugs": {
Expand Down

0 comments on commit 27995f4

Please sign in to comment.