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

Commit e4b9664

Browse files
authored
Corrected type and path of UserToken.exchangeToken (#1159)
1 parent f642f0f commit e4b9664

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/bot-connector/src/main/java/com/microsoft/bot/connector/rest/RestUserToken.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ CompletableFuture<Response<ResponseBody>> getToken(
7171

7272
@Headers({ "Content-Type: application/json; charset=utf-8",
7373
"x-ms-logging-context: com.microsoft.bot.schema.UserTokens exchangeToken" })
74-
@GET("api/usertoken/GetToken")
74+
@POST("api/usertoken/Exchange")
7575
CompletableFuture<Response<ResponseBody>> exchangeToken(
7676
@Query("userId") String userId,
7777
@Query("connectionName") String connectionName,

0 commit comments

Comments
 (0)