mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
docs
This commit is contained in:
@@ -10,7 +10,9 @@ function makeTask(logger, obj) {
|
||||
const name = keys[0];
|
||||
const data = obj[name];
|
||||
logger.debug(data, `makeTask: ${name}`);
|
||||
if (typeof data !== 'object') throw errBadInstruction;
|
||||
if (typeof data !== 'object') {
|
||||
throw errBadInstruction;
|
||||
}
|
||||
Task.validate(name, data);
|
||||
switch (name) {
|
||||
case TaskName.SipDecline:
|
||||
|
||||
Reference in New Issue
Block a user