oups! fix a missing callback that's been here for a while...

pull/1/head
ansuz 5 years ago
parent ecce654ca6
commit 0edcdcb1b8

@ -43,7 +43,7 @@ Data.setMetadata = function (Env, safeKey, data, cb, Server) {
var command = data.command;
if (!channel || !Core.isValidId(channel)) { return void cb ('INVALID_CHAN'); }
if (!command || typeof (command) !== 'string') { return void cb('INVALID_COMMAND'); }
if (Meta.commands.indexOf(command) === -1) { return void('UNSUPPORTED_COMMAND'); }
if (Meta.commands.indexOf(command) === -1) { return void cb('UNSUPPORTED_COMMAND'); }
queueMetadata(channel, function (next) {
Data.getMetadata(Env, channel, function (err, metadata) {

Loading…
Cancel
Save