diff --git a/proxmox-backup-client/src/snapshot.rs b/proxmox-backup-client/src/snapshot.rs index 4ca8015f..fcfe5840 100644 --- a/proxmox-backup-client/src/snapshot.rs +++ b/proxmox-backup-client/src/snapshot.rs @@ -188,13 +188,13 @@ async fn forget_snapshots(param: Value) -> Result { let path = format!("api2/json/admin/datastore/{}/snapshots", repo.store()); - let result = client + client .delete(&path, Some(snapshot_args(&backup_ns, &snapshot)?)) .await?; record_repository(&repo); - Ok(result) + Ok(Value::Null) } #[api(