mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-11 07:37:10 -07:00
Fixed: Restoring backup from zip file on disk
(cherry picked from commit 5960035d5d660a923e11b0300833b60c64271522)
This commit is contained in:
parent
291458b746
commit
f6b72f62bc
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ function addApiKey(ajaxOptions) {
|
||||||
|
|
||||||
function addContentType(ajaxOptions) {
|
function addContentType(ajaxOptions) {
|
||||||
if (
|
if (
|
||||||
!ajaxOptions.contentType &&
|
ajaxOptions.contentType == null &&
|
||||||
ajaxOptions.dataType === 'json' &&
|
ajaxOptions.dataType === 'json' &&
|
||||||
(ajaxOptions.method === 'PUT' || ajaxOptions.method === 'POST')) {
|
(ajaxOptions.method === 'PUT' || ajaxOptions.method === 'POST')) {
|
||||||
ajaxOptions.contentType = 'application/json';
|
ajaxOptions.contentType = 'application/json';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue