mirror of https://github.com/OpenVidu/openvidu.git
openvidu-server: CDREventEnd toJson "reason" simplified
parent
2e0a963128
commit
a7d2232377
|
@ -48,7 +48,7 @@ public class CDREventEnd extends CDREvent {
|
||||||
json.addProperty("duration", this.duration);
|
json.addProperty("duration", this.duration);
|
||||||
}
|
}
|
||||||
if (this.reason != null) {
|
if (this.reason != null) {
|
||||||
json.addProperty("reason", this.reason != null ? reason.name() : "");
|
json.addProperty("reason", reason.name());
|
||||||
}
|
}
|
||||||
return json;
|
return json;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue