mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Fixed dbstats command in server console.
This commit is contained in:
		
							parent
							
								
									d88f35c96a
								
							
						
					
					
						commit
						dc3beab78f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -6659,7 +6659,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use | |||
|     } | ||||
| 
 | ||||
|     function serverUserCommandDbStats(cmdData) { | ||||
|         parent.parent.db.getStats(function (stats) { | ||||
|         parent.parent.db.getDbStats(function (stats) { | ||||
|             var r2 = ''; | ||||
|             for (var i in stats) { r2 += (i + ': ' + stats[i] + '\r\n'); } | ||||
|             try { ws.send(JSON.stringify({ action: 'serverconsole', value: r2, tag: cmdData.command.tag })); } catch (ex) { } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue