Migration to using System.Net.Http.Json; part one - functional migration
This commit is contained in:
		| @ -63,10 +63,12 @@ namespace Oqtane.Controllers | ||||
|             } | ||||
|  | ||||
|             // get sync events | ||||
|             alias.SyncDate = DateTime.UtcNow; | ||||
|             alias.SyncEvents = _syncManager.GetSyncEvents(DateTime.ParseExact(lastsyncdate, "yyyyMMddHHmmssfff", CultureInfo.InvariantCulture)); | ||||
|  | ||||
|             return alias;  | ||||
|             if (alias != null) | ||||
|             { | ||||
|                 alias.SyncDate = DateTime.UtcNow; | ||||
|                 alias.SyncEvents = _syncManager.GetSyncEvents(DateTime.ParseExact(lastsyncdate, "yyyyMMddHHmmssfff", CultureInfo.InvariantCulture)); | ||||
|             } | ||||
|             return alias; | ||||
|         } | ||||
|          | ||||
|         // POST api/<controller> | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Pavel Vesely
					Pavel Vesely