diff --git a/api.go b/api.go index 565db96..c5002bb 100644 --- a/api.go +++ b/api.go @@ -149,7 +149,7 @@ func (h *Headscale) RegistrationHandler(ctx *gin.Context) { } // The machine has expired - h.handleMachineExpired(ctx, machineKey, req, *machine) + h.handleMachineExpired(ctx, machineKey, *machine) return } @@ -351,7 +351,6 @@ func (h *Headscale) handleMachineValidRegistration( func (h *Headscale) handleMachineExpired( ctx *gin.Context, idKey wgkey.Key, - reqisterRequest tailcfg.RegisterRequest, machine Machine, ) { resp := tailcfg.RegisterResponse{}