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

Commit 42814b0

Browse files
authored
bugfix - Change the fetchChannelList from POST to GET (#844)
1 parent 24c2769 commit 42814b0

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/RestTeamsOperations.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ private ServiceResponse<TeamsMeetingParticipant> fetchParticipantDelegate(
166166
interface TeamsService {
167167
@Headers({ "Content-Type: application/json; charset=utf-8",
168168
"x-ms-logging-context: com.microsoft.bot.schema.Teams fetchChannelList" })
169-
@POST("v3/teams/{teamId}/conversations")
169+
@GET("v3/teams/{teamId}/conversations")
170170
CompletableFuture<Response<ResponseBody>> fetchChannelList(
171171
@Path("teamId") String teamId,
172172
@Header("accept-language") String acceptLanguage,

0 commit comments

Comments
 (0)