Fixed: Restoring backup from zip file on disk

(cherry picked from commit 5960035d5d660a923e11b0300833b60c64271522)
pull/2027/head
Mark McDowall 4 years ago committed by Qstick
parent 291458b746
commit f6b72f62bc

@ -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…
Cancel
Save