mirror of
https://github.com/leptos-rs/leptos
synced 2024-11-10 06:44:17 +00:00
fix: correct feature name for server-fn-macro
crate (broken in #2270)
This commit is contained in:
parent
fe64f0d332
commit
1dbe8b2d4b
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue