mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-12 23:54:38 +02:00
* Notes
This commit is contained in:
parent
d3f82e38da
commit
79e533468a
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue