Skip to content

Commit

Permalink
fix getConnection() JSON key
Browse files Browse the repository at this point in the history
  • Loading branch information
bertrandmartel committed Dec 14, 2015
1 parent 580dea4 commit 00b0b81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 00b0b81

Please sign in to comment.