1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 18:28:19 +00:00
Sonarr/UI/Commands/CommandController.js
2013-05-11 16:39:32 -07:00

11 lines
No EOL
276 B
JavaScript

"use strict";
define(['app'], function () {
NzbDrone.Commands.Execute = function (name) {
return $.ajax({
type: 'POST',
url : NzbDrone.Constants.ApiRoot + '/command',
data: JSON.stringify({command: name})
});
};
});