×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: jesse griffin
Added: May 20, 2016 3:57 AM
Views: 4
Tags: no tags
  1.         //establish the ownersRoom from owner id
  2.         this.roomService.getRoomByUser(ownerId, (snapshot) => {
  3.             if (snapshot) {
  4.                
  5.             } else {
  6.                 //display flash message indicating the userId doesn't exist.
  7.                 console.log('roomService.getRoomByUser failed with given route param: '.ownerId);
  8.             }
  9.         });
  10.