You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/UI/Commands/CommandController.js

17 lines
388 B

'use strict';
define({
Execute: function (name, properties) {
var data = { command: name };
if (properties) {
$.extend(data, properties);
}
return $.ajax({
type: 'POST',
url : window.ApiRoot + '/command',
data: JSON.stringify(data)
});
}
});