From ae17d739f416522dd24c0e36fae3eff4f8e8d4c1 Mon Sep 17 00:00:00 2001 From: Niklas Mischkulnig <4586894+mischnic@users.noreply.github.com> Date: Mon, 9 Dec 2024 15:56:38 +0100 Subject: [PATCH] Fixup ResolvedVc --- crates/next-api/src/project.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/next-api/src/project.rs b/crates/next-api/src/project.rs index 42d4fb735cbcc..a9dcab282012d 100644 --- a/crates/next-api/src/project.rs +++ b/crates/next-api/src/project.rs @@ -705,11 +705,11 @@ impl Project { html_endpoint, data_endpoint, } => { - add_endpoint(*html_endpoint, &mut modules).await?; - add_endpoint(*data_endpoint, &mut modules).await?; + add_endpoint(**html_endpoint, &mut modules).await?; + add_endpoint(**data_endpoint, &mut modules).await?; } Route::PageApi { endpoint } => { - add_endpoint(*endpoint, &mut modules).await?; + add_endpoint(**endpoint, &mut modules).await?; } Route::AppPage(page_routes) => { for page_route in page_routes { @@ -721,7 +721,7 @@ impl Project { original_name: _, endpoint, } => { - add_endpoint(*endpoint, &mut modules).await?; + add_endpoint(**endpoint, &mut modules).await?; } Route::Conflict => { tracing::info!("WARN: conflict");