fix: extra lines removed from updateWebcamStream

This commit is contained in:
Aron Engineer 2021-04-01 18:12:36 +00:00
parent bc7e3a1c37
commit 66b320c26a

View File

@ -36,11 +36,8 @@ object Webcams {
case Some(value) => {
val mediaStream: MediaStream = MediaStream(value.stream.id, value.stream.url, userId, value.stream.attributes,
value.stream.viewers)
val webcamStream: WebcamStream = WebcamStream(streamId, mediaStream)
webcams.update(streamId, webcamStream)
Some(webcamStream)
}
case None => {