fix: correct feature name for server-fn-macro crate (broken in #2270)

This commit is contained in:
Greg Johnston 2024-02-09 17:18:44 -05:00
parent fe64f0d332
commit 1dbe8b2d4b

View file

@ -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>
}