MM-23687 Fix Android Share Extension (currently can't post) (#4095)

Fixes regression introduced in f5369ac9c5
This commit is contained in:
Amit Uttam
2020-03-30 16:36:01 -03:00
committed by GitHub
parent 9b553d3760
commit 2c031c51b2

View File

@@ -194,7 +194,7 @@ public class ShareModule extends ReactContextBaseJavaModule {
JSONObject json = new JSONObject();
try {
json.put("user_id", data.getString("currentUserId"));
if (data.hasKey("channel_id")) {
if (data.hasKey("channelId")) {
json.put("channel_id", data.getString("channelId"));
}
if (data.hasKey("value")) {