From ff52b5eb8ac83ae5fb0af63cbc0d5a56e982c52e Mon Sep 17 00:00:00 2001 From: Serraniel Date: Wed, 30 Jan 2019 20:50:22 +0100 Subject: [PATCH] #10 Fixed testing code --- Discord Media Loader.Application/Classes/Core.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Discord Media Loader.Application/Classes/Core.cs b/Discord Media Loader.Application/Classes/Core.cs index f570af6..8036846 100644 --- a/Discord Media Loader.Application/Classes/Core.cs +++ b/Discord Media Loader.Application/Classes/Core.cs @@ -183,13 +183,12 @@ namespace DML.Application.Classes while (!loggedIn) { - var token = "abc"; try { if (!string.IsNullOrEmpty(Settings.LoginToken)) { Logger.Debug("Trying to login with last known token..."); - loggedIn = await DMLClient.Login(token); + loggedIn = await DMLClient.Login(Settings.LoginToken); } }