Skip to content

Commit

Permalink
Added in room to the exports
Browse files Browse the repository at this point in the history
  • Loading branch information
eHag-FRU committed Apr 15, 2024
1 parent 2ea5c29 commit ea7d5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/Rooms.js
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ class RoomController {
//Does Node.js stuff
if (typeof module !== 'undefined' && module.exports) {
console.log('this script is running in Node.js');
module.exports = {RoomController};
module.exports = { RoomController, Room };
} else {
console.log('this script is not running in Node.js');
}

0 comments on commit ea7d5d3

Please sign in to comment.