Fixed: Restoring backup from zip file on disk

This commit is contained in:
Mark McDowall 2021-02-08 08:21:14 -08:00
parent 6c324c8a1c
commit 5960035d5d
1 changed files with 1 additions and 1 deletions

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';