diff --git a/src/handlers/handlers.rs b/src/handlers/handlers.rs index b9fe1b7..f046e1f 100644 --- a/src/handlers/handlers.rs +++ b/src/handlers/handlers.rs @@ -33,9 +33,11 @@ lazy_static! { /// Displays the signup page with links to Stripe pub async fn get_signup() -> impl IntoResponse { + let annual_link = &*ANNUAL_LINK; + let monthly_link = &*MONTHLY_LINK; SignupPage { - monthly_link: Some((*MONTHLY_LINK).to_string()), - annual_link: Some((&*ANNUAL_LINK).to_string()), + monthly_link: Some(monthly_link.to_string()), + annual_link: Some(annual_link.to_string()), ..Default::default() } }