Add missing request arguemnt

This commit is contained in:
Kristoffer Dalby 2021-11-24 12:16:56 +00:00
parent dcbf289470
commit cec1e86b58

2
api.go
View File

@ -152,7 +152,7 @@ func (h *Headscale) RegistrationHandler(ctx *gin.Context) {
}
// The machine has expired
h.handleMachineExpired(ctx, machineKey, *machine)
h.handleMachineExpired(ctx, machineKey, req, *machine)
return
}