lsc 5 dienas atpakaļ
vecāks
revīzija
a55b87f182
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      js/Desktop/Onload.js

+ 1 - 0
js/Desktop/Onload.js

@@ -416,6 +416,7 @@ U.MD.D.getuser = function () {
         }
         LoginState = true
         let url = "https:" + US.Config.pbl + "luohugetTeacherInfo?code=" + encodeURIComponent(U.UF.C.queryString('code'));
+        var myHeaders = new Headers();
         myHeaders.append("Content-Type", "application/json");
 
         var requestOptions = {