chenjunkai 6 years ago
parent
commit
72c04325b0
1 changed files with 1 additions and 1 deletions
  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():
             if 'userID' and 'password' and 'is_superuser' in dataValid.keys():
                 return response.json(444)
                 return response.json(444)
         if userIconPath == None and userContent == None:
         if userIconPath == None and userContent == None:
-            return response.json(800)
+            return response.json(444)
         elif userIconPath == None and userContent != None:
         elif userIconPath == None and userContent != None:
             return self.perfectUserInfoUpdate(userID, response, userContent=userContent)
             return self.perfectUserInfoUpdate(userID, response, userContent=userContent)
         elif userIconPath != None and userContent == None:
         elif userIconPath != None and userContent == None: