Skip to content

Commit

Permalink
small fix in java code example
Browse files Browse the repository at this point in the history
  • Loading branch information
ogazitt committed Jul 9, 2024
1 parent c6aff26 commit ea4ae71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/software-development-kits/java/grpc-bindings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Metadata metadata = new Metadata();
Metadata.Key<String> asertoTenantId = Metadata.Key.of("aserto-tenant-id", Metadata.ASCII_STRING_MARSHALLER);
Metadata.Key<String> authorization = Metadata.Key.of("authorization", Metadata.ASCII_STRING_MARSHALLER);
metadata.put(asertoTenantId, "<Aserto tenant ID>");
metadata.put(authorization, "basic " + "<Aserto API key>"");
metadata.put(authorization, "basic " + "<Aserto API key>");

ManagedChannel channel = NettyChannelBuilder
.forAddress(authorizerAddress, authorizerPort)
Expand Down

0 comments on commit ea4ae71

Please sign in to comment.