Skip to content

Commit

Permalink
fix: proc-macro reference
Browse files Browse the repository at this point in the history
  • Loading branch information
DDtKey committed Apr 10, 2024
1 parent 03719df commit 8c5dacb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proc-macro/src/expand/axum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ impl ProtectEndpoint {
let stream = quote! {
#(#fn_attrs)*
#func_vis #fn_async fn #fn_name #fn_generics(
#auth_details: axum_grants::authorities::AuthDetails<#ty>,
#auth_details: protect_axum::authorities::AuthDetails<#ty>,
#fn_args
) -> axum::response::Result<#fn_output> {
use axum_grants::authorities::AuthoritiesCheck;
use protect_axum::authorities::AuthoritiesCheck;
#condition {
let f = || async move #func_block;
Ok(f().await)
Expand Down

0 comments on commit 8c5dacb

Please sign in to comment.