add endpoint field to client (#470)
This commit is contained in:
@@ -645,6 +645,7 @@ func UpdateClient(db store.IStore) echo.HandlerFunc {
|
||||
client.AllocatedIPs = _client.AllocatedIPs
|
||||
client.AllowedIPs = _client.AllowedIPs
|
||||
client.ExtraAllowedIPs = _client.ExtraAllowedIPs
|
||||
client.Endpoint = _client.Endpoint
|
||||
client.PublicKey = _client.PublicKey
|
||||
client.PresharedKey = _client.PresharedKey
|
||||
client.UpdatedAt = time.Now().UTC()
|
||||
|
||||
Reference in New Issue
Block a user