update mp_upload_temperature

FFIB %!s(int64=3) %!d(string=hace) años
padre
commit
cc9d383ffa
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      api/point_views.py

+ 1 - 1
api/point_views.py

@@ -121,7 +121,7 @@ def mp_upload_temperature(request):
121 121
     temperature = request.POST.get('temperature', '')
122 122
 
123 123
     try:
124
-        ipui = IsolationPointUserInfo.objects.get(userid=userid, status=True)
124
+        ipui = IsolationPointUserInfo.objects.get(user_id=userid, status=True)
125 125
     except IsolationPointUserInfo.DoesNotExist:
126 126
         ipui = None
127 127