mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-06 05:05:23 +03:00
Remove superfluous arguments
This commit is contained in:
parent
809f6ab74d
commit
3581880117
@ -1513,7 +1513,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
|
||||
var cmdData = { result: '', command: command, cmdargs: cmdargs };
|
||||
|
||||
try {
|
||||
consoleCommands[cmd](cmdData, command, cmdargs);
|
||||
consoleCommands[cmd](cmdData);
|
||||
} catch (e) {
|
||||
if (consoleCommands[cmd] == null)
|
||||
cmdData.result = 'Unknown command \"' + cmd + '\", type \"help\" for list of available commands.';
|
||||
|
Loading…
Reference in New Issue
Block a user