Skip to content

Commit d0c3eda

Browse files
Fix PusherEvent user id wrong key. Change userId to user_id
1 parent d0a7ea8 commit d0c3eda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/main/java/com/pusher/client/channel/PusherEvent.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public String toString() {
7070
public PusherEvent(String event, String channel, String userId, String data) {
7171
jsonObject.addProperty("event", event);
7272
jsonObject.addProperty("channel", channel);
73-
jsonObject.addProperty("userId", userId);
73+
jsonObject.addProperty("user_id", userId);
7474
jsonObject.addProperty("data", data);
7575
}
7676

0 commit comments

Comments
 (0)