chenjunkai před 6 roky
rodič
revize
72c04325b0
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Controller/UserManger.py

+ 1 - 1
Controller/UserManger.py

@@ -116,7 +116,7 @@ class perfectUserInfoView(TemplateView):
             if 'userID' and 'password' and 'is_superuser' in dataValid.keys():
                 return response.json(444)
         if userIconPath == None and userContent == None:
-            return response.json(800)
+            return response.json(444)
         elif userIconPath == None and userContent != None:
             return self.perfectUserInfoUpdate(userID, response, userContent=userContent)
         elif userIconPath != None and userContent == None: