Fix variable targetClassToUse not used

Closes gh-15567
This commit is contained in:
DingHao 2024-08-12 10:38:33 +08:00 committed by Josh Cummings
parent e39b39dada
commit 84fc5a70ee
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ final class PostAuthorizeExpressionAttributeRegistry extends AbstractExpressionA
private PostAuthorize findPostAuthorizeAnnotation(Method method, Class<?> targetClass) {
Class<?> targetClassToUse = targetClass(method, targetClass);
return this.postAuthorizeSynthesizer.synthesize(method, targetClass);
return this.postAuthorizeSynthesizer.synthesize(method, targetClassToUse);
}
/**