Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Commit

Permalink
Sample corrections (#1008)
Browse files Browse the repository at this point in the history
* add missing ConnectionName

* Fix for change in API signature.
  • Loading branch information
LeeParrishMSFT authored Feb 19, 2021
1 parent a49b416 commit b953156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
MicrosoftAppId=
MicrosoftAppPassword=
server.port=3978
ConnectionName=
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ private CompletableFuture<MessagingExtensionResponse> emailExtensionQuery(
.thenCompose(response -> {
if (response == null || StringUtils.isEmpty(response.getToken())) {
// There is no token, so the user has not signed in yet.
return tokenProvider.getOauthSignInLink(turnContext, connectionName)
return tokenProvider.getOAuthSignInLink(turnContext, connectionName)
.thenApply(link -> new MessagingExtensionResponse() {{
setComposeExtension(new MessagingExtensionResult() {{
setType("auth");
Expand Down

0 comments on commit b953156

Please sign in to comment.