[mirotlaksfu] - add survey in config.js

هذا الالتزام موجود في:
Miroslav Pejic
2023-05-12 09:35:44 +02:00
الأصل edab82f809
التزام 37734cdfca
5 ملفات معدلة مع 20 إضافات و7 حذوفات

عرض الملف

@@ -7,6 +7,7 @@ const log = new Logger('Room');
module.exports = class Room {
constructor(room_id, worker, io) {
this.id = room_id;
this.survey = config.survey;
this.worker = worker;
this.router = null;
this.audioLevelObserver = null;
@@ -114,6 +115,7 @@ module.exports = class Room {
toJson() {
return {
id: this.id,
survey: this.survey,
peers: JSON.stringify([...this.peers]),
};
}