mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-25 04:02:48 +01:00
Fixed: Restoring backup from zip file on disk
This commit is contained in:
parent
6c324c8a1c
commit
5960035d5d
@ -30,7 +30,7 @@ function addApiKey(ajaxOptions) {
|
||||
|
||||
function addContentType(ajaxOptions) {
|
||||
if (
|
||||
!ajaxOptions.contentType &&
|
||||
ajaxOptions.contentType == null &&
|
||||
ajaxOptions.dataType === 'json' &&
|
||||
(ajaxOptions.method === 'PUT' || ajaxOptions.method === 'POST')) {
|
||||
ajaxOptions.contentType = 'application/json';
|
||||
|
Loading…
Reference in New Issue
Block a user