From 2c5112c96d4f93de5a5a4aa7d0de06b2d29b50d2 Mon Sep 17 00:00:00 2001 From: karthik2804 Date: Mon, 23 Sep 2024 21:48:36 +0200 Subject: [PATCH] fix http component Signed-off-by: karthik2804 --- src/commands/add.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/add.rs b/src/commands/add.rs index 376bbea..fdcb791 100644 --- a/src/commands/add.rs +++ b/src/commands/add.rs @@ -297,7 +297,7 @@ async fn edit_component_deps_in_manifest( } => { let mut http_table = toml_edit::InlineTable::default(); http_table.get_or_insert("url", url); - http_table.get_or_insert("sha256", digest); + http_table.get_or_insert("digest", digest); toml_edit::Value::InlineTable(http_table) } };