Skip to content

Commit b75fe5a

Browse files
srtaalejzimeg
andauthored
Update slack-api-client/src/main/java/com/slack/api/methods/RequestFormBuilder.java
Co-authored-by: Eden Zimbelman <[email protected]>
1 parent e302750 commit b75fe5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

slack-api-client/src/main/java/com/slack/api/methods/RequestFormBuilder.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2792,7 +2792,8 @@ public static FormBody.Builder toForm(SlackListsAccessDeleteRequest req) {
27922792
FormBody.Builder form = new FormBody.Builder();
27932793
setIfNotNull("list_id", req.getListId(), form);
27942794
if (req.getUserIds() != null) {
2795-
setIfNotNull("user_ids", getJsonWithGsonAnonymInnerClassHandling(req.getUserIds()), form);
2795+
String json = getJsonWithGsonAnonymInnerClassHandling(req.getUserIds());
2796+
form.add("user_ids", json);
27962797
}
27972798
if (req.getChannelIds() != null) {
27982799
setIfNotNull("channel_ids", getJsonWithGsonAnonymInnerClassHandling(req.getChannelIds()), form);

0 commit comments

Comments
 (0)