Update InterceptAjaxRequestJS.java

This commit is contained in:
Enguerrand ARMINJON 2023-12-06 16:08:05 +01:00 committed by GitHub
parent 444ffef22b
commit 5fb5e8afce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ public class InterceptAjaxRequestJS {
" data = new Uint8Array(result.data);" + " data = new Uint8Array(result.data);" +
" }" + " }" +
" self.withCredentials = result.withCredentials;" + " self.withCredentials = result.withCredentials;" +
" if (result.responseType != null && result.isAsync) {" + " if (result.responseType != null && self.isAsync) {" +
" self.responseType = result.responseType;" + " self.responseType = result.responseType;" +
" };" + " };" +
" for (var header in result.headers) {" + " for (var header in result.headers) {" +