1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-18 21:35:51 -04:00

Fixed: Restoring backup from zip file on disk

(cherry picked from commit 5960035d5d660a923e11b0300833b60c64271522)
This commit is contained in:
Mark McDowall
2021-02-08 08:21:14 -08:00
committed by Qstick
parent 6b5e743583
commit 63cf10c29a
+1 -1
View File
@@ -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';