This commit is contained in:
Bryan Ashby 2015-08-19 00:07:24 -06:00
parent d3f82e38da
commit 79e533468a
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ var assert = require('assert');
exports.getAvailableMessageAreas = getAvailableMessageAreas;
exports.changeCurrentArea = changeCurrentArea;
// :TODO: need total / new + other stats
function getAvailableMessageAreas(cb) {
var areas = []; // { areaId, name, groupIds[] }
@ -80,7 +81,7 @@ function changeCurrentArea(client, areaId, cb) {
} else {
client.log.warn( { areaId : areaId, error : err.message }, 'Could not change message area');
}
cb(err);
}
);