* Notes
This commit is contained in:
parent
d3f82e38da
commit
79e533468a
|
@ -10,6 +10,7 @@ var assert = require('assert');
|
||||||
exports.getAvailableMessageAreas = getAvailableMessageAreas;
|
exports.getAvailableMessageAreas = getAvailableMessageAreas;
|
||||||
exports.changeCurrentArea = changeCurrentArea;
|
exports.changeCurrentArea = changeCurrentArea;
|
||||||
|
|
||||||
|
// :TODO: need total / new + other stats
|
||||||
function getAvailableMessageAreas(cb) {
|
function getAvailableMessageAreas(cb) {
|
||||||
var areas = []; // { areaId, name, groupIds[] }
|
var areas = []; // { areaId, name, groupIds[] }
|
||||||
|
|
||||||
|
@ -80,7 +81,7 @@ function changeCurrentArea(client, areaId, cb) {
|
||||||
} else {
|
} else {
|
||||||
client.log.warn( { areaId : areaId, error : err.message }, 'Could not change message area');
|
client.log.warn( { areaId : areaId, error : err.message }, 'Could not change message area');
|
||||||
}
|
}
|
||||||
|
|
||||||
cb(err);
|
cb(err);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue