Parcourir la source

Fixed wrong method for starting a session

jancoow il y a 10 ans
Parent
commit
988974b9de
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Proftaak Remote Healthcare/FietsClientV2/TcpConnection.cs

+ 1 - 1
Proftaak Remote Healthcare/FietsClientV2/TcpConnection.cs

@@ -263,7 +263,7 @@ namespace FietsClient
                                 PatientModel.patientModel.CurrentDoctorID = response_parts[3].TrimEnd('\0');
                                 if (response_parts[1] == "1")
                                 {
-                                    StartNewSession(false, currentData.GetUserID());
+                                    PatientModel.patientModel.startSession();
                                 }
                                 else if (response_parts[1] == "0")
                                 {