mirror of
				https://github.com/Ylianst/MeshCentral.git
				synced 2025-03-09 15:40:18 +00:00 
			
		
		
		
	Fixed server APF crash.
This commit is contained in:
		
							parent
							
								
									1d4e397455
								
							
						
					
					
						commit
						5848d38903
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -719,8 +719,8 @@ module.exports.CreateMpsServer = function (parent, db, args, certificates) { | |||
| 
 | ||||
|                                     // Event the new node
 | ||||
|                                     addedDeviceCount++; | ||||
|                                     var change = 'CIRA added device ' + socket.tag.name + ' to group ' + mesh.name; | ||||
|                                     obj.parent.DispatchEvent(['*', socket.tag.meshid], obj, { etype: 'node', action: 'addnode', node: parent.webserver.CloneSafeNode(device), msg: change, domain: mesh.domain }); | ||||
|                                     var change = 'CIRA added device ' + socket.tag.name + ' to group ' + initialMesh.name; | ||||
|                                     obj.parent.DispatchEvent(['*', socket.tag.meshid], obj, { etype: 'node', action: 'addnode', node: parent.webserver.CloneSafeNode(device), msg: change, domain: initialMesh.domain }); | ||||
|                                 }); | ||||
|                             } | ||||
|                         } else { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue