diff --git a/libraries/bot-connector/src/main/java/com/microsoft/bot/connector/rest/RestTeamsOperations.java b/libraries/bot-connector/src/main/java/com/microsoft/bot/connector/rest/RestTeamsOperations.java index 89f5a7d1f..bf1367450 100644 --- a/libraries/bot-connector/src/main/java/com/microsoft/bot/connector/rest/RestTeamsOperations.java +++ b/libraries/bot-connector/src/main/java/com/microsoft/bot/connector/rest/RestTeamsOperations.java @@ -19,7 +19,6 @@ import retrofit2.http.GET; import retrofit2.http.Header; import retrofit2.http.Headers; -import retrofit2.http.POST; import retrofit2.http.Path; import java.io.IOException; @@ -180,7 +179,7 @@ CompletableFuture> fetchChannelList( @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.bot.schema.Teams fetchTeamDetails" }) - @POST("v3/teams/{teamId}") + @GET("v3/teams/{teamId}") CompletableFuture> fetchTeamDetails( @Path("teamId") String teamId, @Header("accept-language") String acceptLanguage,