diff --git a/internal/handlers/devices.go b/internal/handlers/devices.go index 324eace..bba28b6 100644 --- a/internal/handlers/devices.go +++ b/internal/handlers/devices.go @@ -208,6 +208,7 @@ func (h *DeviceHandler) CheckRegistrationStatus(c *echo.Context) error { return c.JSON(http.StatusOK, resp) } + pendingMu.Unlock() return c.JSON(http.StatusOK, DeviceAuthStatusResponse{ Status: "pending",