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

Commit 12aa58d

Browse files
authored
Fixed bug with AppCredentials passed to adapter not being used. (#969)
1 parent 5301ef2 commit 12aa58d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libraries/bot-builder/src/main/java/com/microsoft/bot/builder/BotFrameworkAdapter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,6 +1215,7 @@ private CompletableFuture<AppCredentials> getAppCredentials(String appId, String
12151215
// moving forward
12161216
if (appCredentials != null) {
12171217
appCredentialMap.put(cacheKey, appCredentials);
1218+
return CompletableFuture.completedFuture(appCredentials);
12181219
}
12191220

12201221
return credentialProvider.getAppPassword(appId).thenApply(appPassword -> {

0 commit comments

Comments
 (0)