mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-03-26 04:46:35 +08:00
revert: remove non-ATX changes from #223 merge
This commit is contained in:
@@ -3552,7 +3552,6 @@ pub async fn atx_power(
|
||||
State(state): State<Arc<AppState>>,
|
||||
Json(req): Json<AtxPowerControlRequest>,
|
||||
) -> Result<Json<LoginResponse>> {
|
||||
tracing::info!("Received ATX power request: action={}", req.action);
|
||||
let atx_guard = state.atx.read().await;
|
||||
let atx = atx_guard
|
||||
.as_ref()
|
||||
|
||||
Reference in New Issue
Block a user