mirror of
https://github.com/leptos-rs/leptos.git
synced 2025-12-27 08:44:28 -05:00
fix: correct feature name for server-fn-macro crate (broken in #2270)
This commit is contained in:
@@ -434,7 +434,7 @@ pub fn server_macro_impl(
|
||||
quote! {
|
||||
#server_fn_path::request::BrowserMockReq
|
||||
}
|
||||
} else if cfg!(feature = "axum-no-default") {
|
||||
} else if cfg!(feature = "axum") {
|
||||
quote! {
|
||||
#server_fn_path::axum_export::http::Request<#server_fn_path::axum_export::body::Body>
|
||||
}
|
||||
@@ -458,7 +458,7 @@ pub fn server_macro_impl(
|
||||
quote! {
|
||||
#server_fn_path::response::BrowserMockRes
|
||||
}
|
||||
} else if cfg!(feature = "axum-no-default") {
|
||||
} else if cfg!(feature = "axum") {
|
||||
quote! {
|
||||
#server_fn_path::axum_export::http::Response<#server_fn_path::axum_export::body::Body>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user