import roomGroup from '../models/roomGroup' ; const getRoom = async ( roomCode , isPrivate ) => { const title = await roomGroup . getTitle ( roomCode ) ; const room = { roomCode , title , isPrivate } ; return room ; } ; const joinService = { getRoom , } ; export default joinService ;