Todo : Fix format

RestService : Fix connection if first connection fail
BL : Fix Update/Delete return value
This commit is contained in:
2019-03-28 00:23:44 +01:00
parent 8b0820ece4
commit b8d49cea69
5 changed files with 70 additions and 19 deletions

View File

@@ -65,7 +65,7 @@ namespace LaDOSE.REST
private void CheckToken()
{
if (this.Auth.Expire <= DateTime.Now)
if (this.Auth == null || this.Auth.Expire <= DateTime.Now)
{
GetToken(this.username,this.password);
}