fix friendly name
This commit is contained in:
		
							parent
							
								
									8c8e1c5451
								
							
						
					
					
						commit
						c840f2bd5f
					
				|  | @ -923,6 +923,7 @@ func Status(db store.IStore) echo.HandlerFunc { | ||||||
| 		Connected         bool | 		Connected         bool | ||||||
| 		AllocatedIP       string | 		AllocatedIP       string | ||||||
| 		Endpoint          string | 		Endpoint          string | ||||||
|  | 		FriendlyName      string | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	type DeviceVM struct { | 	type DeviceVM struct { | ||||||
|  | @ -993,6 +994,7 @@ func Status(db store.IStore) echo.HandlerFunc { | ||||||
| 					if _client, ok := m[pVm.PublicKey]; ok { | 					if _client, ok := m[pVm.PublicKey]; ok { | ||||||
| 						pVm.Name = _client.Name | 						pVm.Name = _client.Name | ||||||
| 						pVm.Email = _client.Email | 						pVm.Email = _client.Email | ||||||
|  | 						pVm.FriendlyName = _client.FriendlyName | ||||||
| 					} | 					} | ||||||
| 					devVm.Peers = append(devVm.Peers, pVm) | 					devVm.Peers = append(devVm.Peers, pVm) | ||||||
| 				} | 				} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue