diff --git a/bboxiot-lib/src/main/java/fr/bouyguestelecom/tv/bboxiot/events/EventBuilder.java b/bboxiot-lib/src/main/java/fr/bouyguestelecom/tv/bboxiot/events/EventBuilder.java index a91fa18..8aef1b5 100644 --- a/bboxiot-lib/src/main/java/fr/bouyguestelecom/tv/bboxiot/events/EventBuilder.java +++ b/bboxiot-lib/src/main/java/fr/bouyguestelecom/tv/bboxiot/events/EventBuilder.java @@ -65,7 +65,7 @@ public static GenericEventAbstr buildConnectionItem(BtConnection connection) { JSONObject data = new JSONObject(); try { - data.put(AssociationEventConstant.ASSOCIATION_EVENT_ITEM, connection.toJson()); + data.put(AssociationEventConstant.ASSOCIATION_EVENT_CONNECTION, connection.toJson()); return new GenericEvent(EventTopic.TOPIC_CONNECTION, EventType.EVENT_RESPONSE, new RandomGen(Common.EVENT_ID_LENGTH).nextString(), data); } catch (JSONException e) {