ApiKey Authentication cleanup

This commit is contained in:
Mark McDowall 2013-09-20 15:19:48 -07:00
parent 57fdbe6e08
commit de607e207b
8 changed files with 48 additions and 45 deletions

View file

@ -5,7 +5,7 @@ var statusText = $.ajax({
url : window.NzbDrone.ApiRoot + '/system/status',
async: false,
headers: {
ApiKey: window.NzbDrone.ApiKey
Authorization: window.NzbDrone.ApiKey
}
}).responseText;