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

Commit 14d9886

Browse files
committed
Corrected type and path of UserToken.exchangeToken (#1159)
1 parent 1339591 commit 14d9886

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
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)