mirror of
				https://github.com/Telecominfraproject/wlan-cloud-ucentralsec.git
				synced 2025-11-03 20:27:45 +00:00 
			
		
		
		
	Fix uptime.
This commit is contained in:
		@@ -112,7 +112,7 @@ namespace uCentral {
 | 
			
		||||
				Poco::JSON::Array	Array;
 | 
			
		||||
				Poco::JSON::Object 	Answer;
 | 
			
		||||
				Poco::JSON::Object	UpTimeObj;
 | 
			
		||||
				UpTimeObj.set(RESTAPI::Protocol::TAG,RESTAPI::Protocol::TIMES);
 | 
			
		||||
				UpTimeObj.set(RESTAPI::Protocol::TAG,RESTAPI::Protocol::UPTIME);
 | 
			
		||||
				UpTimeObj.set(RESTAPI::Protocol::VALUE, Daemon()->uptime().totalSeconds());
 | 
			
		||||
				Poco::JSON::Object	StartObj;
 | 
			
		||||
				StartObj.set(RESTAPI::Protocol::TAG,RESTAPI::Protocol::START);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user