Sanitize impl in macro
This commit is contained in:
@ -7,7 +7,7 @@ pub fn into_response_derive_impl(input: DeriveInput) -> TokenStream {
|
||||
let name = &input.ident;
|
||||
|
||||
let expanded = quote! {
|
||||
impl IntoResponse for #name {
|
||||
impl axum::response::IntoResponse for #name {
|
||||
fn into_response(self) -> axum::response::Response {
|
||||
let version = env!("CARGO_PKG_VERSION");
|
||||
lib::serde::response::BaseResponse::new(version, self)
|
||||
|
Reference in New Issue
Block a user