mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Restoring backup from zip file on disk
(cherry picked from commit 5960035d5d660a923e11b0300833b60c64271522)
This commit is contained in:
@@ -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';
|
||||
|
Reference in New Issue
Block a user