Skip to content

Commit

Permalink
Fix variable targetClassToUse not used
Browse files Browse the repository at this point in the history
  • Loading branch information
kse-music authored and jzheaux committed Aug 26, 2024
1 parent e39b39d commit 84fc5a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private MethodAuthorizationDeniedHandler resolveHandler(Method method, Class<?>

private PostAuthorize findPostAuthorizeAnnotation(Method method, Class<?> targetClass) {
Class<?> targetClassToUse = targetClass(method, targetClass);
return this.postAuthorizeSynthesizer.synthesize(method, targetClass);
return this.postAuthorizeSynthesizer.synthesize(method, targetClassToUse);
}

/**
Expand Down

0 comments on commit 84fc5a7

Please sign in to comment.