use crate::bootstrap::state::AppState;
use shared::{Event, Response as RpResponse};
pub async fn handle(state: AppState, deployment_id: String) -> RpResponse {
state.deploy_queue.promote(&deployment_id);
state.bus.publish(Event::DeployQueueChanged);
RpResponse::Ok
}