Serverside metadata update

This commit is contained in:
yflory
2019-08-28 12:40:35 +02:00
parent 113a362724
commit 28b2341f2c
4 changed files with 68 additions and 3 deletions

View File

@@ -260,6 +260,16 @@ define([
});
};
// Get data for the admin panel
exp.setMetadata = function (obj, cb) {
rpc.send('SET_METADATA', {
channel: obj.channel,
command: obj.command,
value: obj.value
}, cb);
};
cb(e, exp);
});
};