Todo : Fix format
RestService : Fix connection if first connection fail BL : Fix Update/Delete return value
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user