openvidu-server: Participant object property "session" to "sessionId"

pull/550/head
pabloFuente 2020-10-09 12:21:52 +02:00
parent a3ef133b93
commit acdfcd6559
1 changed files with 1 additions and 1 deletions

View File

@ -272,7 +272,7 @@ public class Participant {
public JsonObject toJson() {
JsonObject json = new JsonObject();
json.addProperty("connectionId", this.participantPublicId);
json.addProperty("session", this.sessionId);
json.addProperty("sessionId", this.sessionId);
json.addProperty("createdAt", this.createdAt);
json.addProperty("location", this.location != null ? this.location.toString() : "unknown");
json.addProperty("platform", this.platform);