Skip to content

Commit 97c84e5

Browse files
Remove not needed var
1 parent bdc6600 commit 97c84e5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

deps/rabbitmq_auth_backend_oauth2/src/rabbit_auth_backend_oauth2.erl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ check_vhost_access(#auth_user{impl = DecodedTokenFun},
8888
VHost, _AuthzData) ->
8989
with_decoded_token(DecodedTokenFun(),
9090
fun(Token) ->
91-
DecodedToken = DecodedTokenFun(),
9291
Scopes = get_expanded_scopes(Token, #resource{virtual_host = VHost}),
9392
rabbit_oauth2_scope:vhost_access(VHost, Scopes)
9493
end).

0 commit comments

Comments
 (0)