Skip to content

Commit 11cb13d

Browse files
committed
2323 - SF
1 parent 11050e9 commit 11cb13d

File tree

1 file changed

+3
-4
lines changed
  • server/libs/modules/components/rocketchat/src/main/java/com/bytechef/component/rocketchat/util

1 file changed

+3
-4
lines changed

server/libs/modules/components/rocketchat/src/main/java/com/bytechef/component/rocketchat/util/RocketchatUtils.java

+3-4
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,11 @@ public static List<Option<String>> getChannelsOptions(
8888
return options;
8989
}
9090

91-
public static Object sendMessage(String roomdId, String text, Context context) {
92-
return context
93-
.http(http -> http.post("/chat.postMessage"))
91+
public static Object sendMessage(String roomId, String text, Context context) {
92+
return context.http(http -> http.post("/chat.postMessage"))
9493
.body(
9594
Http.Body.of(
96-
ROOM_ID, roomdId,
95+
ROOM_ID, roomId,
9796
TEXT, text))
9897
.configuration(responseType(Http.ResponseType.JSON))
9998
.execute()

0 commit comments

Comments
 (0)