Skip to content

Commit

Permalink
webpubsub, bug fix (#25200)
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft authored Nov 5, 2021
1 parent ac66c15 commit 59c128c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public Mono<WebPubSubClientAccessToken> getClientAccessToken(GetClientAccessToke
requestOptions.addQueryParam("role", options.getRoles().stream().collect(Collectors.joining(",")));
}
requestOptions.addQueryParam("api-version", version.getVersion());
this.serviceClient.generateClientTokenWithResponseAsync(hub, requestOptions)
return this.serviceClient.generateClientTokenWithResponseAsync(hub, requestOptions)
.map(Response::getValue)
.map(binaryData -> {
String token = WebPubSubUtil.getToken(binaryData);
Expand Down

0 comments on commit 59c128c

Please sign in to comment.