LisahMan / Chat-Application

Either all code paths should have explicit returns, or none of them JS-0045
Anti-pattern
Minor
a year agoa year old
Expected to return a value at the end of async function 'getARoom'.
160    return false;
161}
162
163async function getARoom (sendby,sendto) {164    try{
165        let room = sendby+sendto+"Room";
166        let result = await userController.add_rooms(sendby,sendto,room);