From c840f2bd5f86a0cea6792783b8efc4ddf8a5c2f7 Mon Sep 17 00:00:00 2001 From: kadet77rus Date: Mon, 28 Oct 2024 13:07:40 +0300 Subject: [PATCH] fix friendly name --- handler/routes.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handler/routes.go b/handler/routes.go index 1302e6b..01b023a 100644 --- a/handler/routes.go +++ b/handler/routes.go @@ -923,6 +923,7 @@ func Status(db store.IStore) echo.HandlerFunc { Connected bool AllocatedIP string Endpoint string + FriendlyName string } type DeviceVM struct { @@ -993,6 +994,7 @@ func Status(db store.IStore) echo.HandlerFunc { if _client, ok := m[pVm.PublicKey]; ok { pVm.Name = _client.Name pVm.Email = _client.Email + pVm.FriendlyName = _client.FriendlyName } devVm.Peers = append(devVm.Peers, pVm) }