Skip to content

Commit

Permalink
Removed random s from jquery.ajax
Browse files Browse the repository at this point in the history
  • Loading branch information
markus101 committed Oct 11, 2013
1 parent 8cfc9ef commit ff7ce39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/UI/Mixins/jquery.ajax.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ define(

delete xhr.data;
}
s if (xhr) {

if (xhr) {
xhr.headers = xhr.headers || {};
xhr.headers.Authorization = window.NzbDrone.ApiKey;
}
Expand Down

0 comments on commit ff7ce39

Please sign in to comment.