Authz-client: fix ClassCast Exception when getting resource permissions
(#27483) Signed-off-by: Clemens Zagler <c.zagler@noi.bz.it>
This commit is contained in:
parent
4fc7e3d607
commit
dca50bba3f
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ public class AuthorizationResource {
|
|||
|
||||
if (request.getMetadata() == null) {
|
||||
metadata = new AuthorizationRequest.Metadata();
|
||||
request.setMetadata(metadata);
|
||||
} else {
|
||||
metadata = request.getMetadata();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue