[mirotalksfu] - fix typo
هذا الالتزام موجود في:
@@ -949,16 +949,16 @@ function startServer() {
|
||||
|
||||
res.json({
|
||||
success: true,
|
||||
totalUsers,
|
||||
totalRooms,
|
||||
totalUsers,
|
||||
});
|
||||
|
||||
// log.debug the output if all done
|
||||
log.debug('MiroTalk get stats - Authorized', {
|
||||
header: req.headers,
|
||||
body: req.body,
|
||||
totalUsers,
|
||||
totalRooms,
|
||||
totalUsers,
|
||||
});
|
||||
} catch (error) {
|
||||
console.error('Error fetching stats', error);
|
||||
|
||||
@@ -24,7 +24,7 @@ module.exports = class ServerApi {
|
||||
getStats(roomList) {
|
||||
const totalUsers = Array.from(roomList.values()).reduce((total, room) => total + room.peers.size, 0);
|
||||
const totalRooms = roomList.size;
|
||||
return { totalUsers, totalRooms };
|
||||
return { totalRooms, totalUsers };
|
||||
}
|
||||
|
||||
getMeetings(roomList) {
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم