fix: snapshot existing config before update; rollback returns 200
This commit is contained in:
@@ -130,5 +130,5 @@ pub(super) async fn rollback_schedule(
|
||||
let detail = format!("rollback to gen {}; {} slots", target.generation, schedule.slots.len());
|
||||
let _ = state.activity_log_repo.log("schedule_rollback", &detail, Some(channel_id)).await;
|
||||
|
||||
Ok((StatusCode::CREATED, Json(ScheduleResponse::from(schedule))))
|
||||
Ok(Json(ScheduleResponse::from(schedule)))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user