aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-12-24 17:39:01 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-12-24 17:39:01 +0200
commit795444f234f6b45bc83d5c7b28725bd7ebc7ee89 (patch)
tree7b2d86f0118c65316e0b9a965a60c1386749369a /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs
parent0fb83fb3abb456ee6707b7f3cabc6b0c1ab2281b (diff)
downloadTango-795444f234f6b45bc83d5c7b28725bd7ebc7ee89.tar.gz
Tango-795444f234f6b45bc83d5c7b28725bd7ebc7ee89.zip
Working on machine service and machine studio.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs')
-rw-r--r--Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs
index befad162c..818d507ae 100644
--- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs
+++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/ViewModels/MainViewVM.cs
@@ -363,8 +363,7 @@ namespace Tango.MachineStudio.UI.ViewModels
CheckForUpdatesResponse response = client.CheckForUpdates(new CheckForUpdatesRequest()
{
- Email = _authenticationProvider.CurrentUser.Email,
- Password = _authenticationProvider.CurrentUser.Password,
+ Token = _authenticationProvider.AccessToken,
Version = _applicationManager.Version.ToString(),
AcceptBetaRelease = _settings.AcceptBetaRelease,
}).Result;
@@ -455,7 +454,7 @@ namespace Tango.MachineStudio.UI.ViewModels
//Check machine exist on my database first
if (x.SelectedMachine.Machine == null)
{
- _notificationProvider.ShowError( $"The specified machine '{x.SelectedMachine.SerialNumber}' could not be found on the database. Aborting connection.");
+ _notificationProvider.ShowError($"The specified machine '{x.SelectedMachine.SerialNumber}' could not be found on the database. Aborting connection.");
return;
}