Skip to content

Commit 3622cd9

Browse files
rudmaibin
authored andcommitted
Fix copy/paste bug in CFUAAOAuth2ResourceServerRestController (eugenp#8033)
1 parent 098486a commit 3622cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloud-foundry-uaa/cf-uaa-oauth2-resource-server/src/main/java/com/baeldung/cfuaa/oauth2/resourceserver/CFUAAOAuth2ResourceServerRestController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public String index(@AuthenticationPrincipal Jwt jwt) {
1818

1919
@GetMapping("/read")
2020
public String read(JwtAuthenticationToken jwtAuthenticationToken) {
21-
return "Hello write: " + jwtAuthenticationToken.getTokenAttributes();
21+
return "Hello read: " + jwtAuthenticationToken.getTokenAttributes();
2222
}
2323

2424
@GetMapping("/write")

0 commit comments

Comments
 (0)