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

Commit 46398f0

Browse files
authored
Corrected getTeamsDetails HTTP method (main) (#1003)
* Corrected getTeamsDetails HTTP method (main) * Removed unused import
1 parent 896181f commit 46398f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import retrofit2.http.GET;
2020
import retrofit2.http.Header;
2121
import retrofit2.http.Headers;
22-
import retrofit2.http.POST;
2322
import retrofit2.http.Path;
2423

2524
import java.io.IOException;
@@ -180,7 +179,7 @@ CompletableFuture<Response<ResponseBody>> fetchChannelList(
180179

181180
@Headers({ "Content-Type: application/json; charset=utf-8",
182181
"x-ms-logging-context: com.microsoft.bot.schema.Teams fetchTeamDetails" })
183-
@POST("v3/teams/{teamId}")
182+
@GET("v3/teams/{teamId}")
184183
CompletableFuture<Response<ResponseBody>> fetchTeamDetails(
185184
@Path("teamId") String teamId,
186185
@Header("accept-language") String acceptLanguage,

0 commit comments

Comments
 (0)