Skip to content

Commit

Permalink
fix #1
Browse files Browse the repository at this point in the history
  • Loading branch information
lgaticaq committed May 5, 2016
1 parent 376903d commit 46a9cd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/beerjs-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ beerjs.getInfo().then((data) => {
console.log(`Fecha: ${data.fecha}`);
console.log(`Donde: ${data.donde}`);
console.log(`Direccion: ${data.direccion}`);
console.log(`Hora: ${data.hora}`);
if (data.hora !== null && data.hora !== undefined && data.hora !== '') {
console.log(`Hora: ${data.hora}`);
}
console.log(`Tema: ${data.tema}`);
console.log(`Requisito: ${data.requisito}`);
}).catch(() => console.log('Evento no encontrado'));

0 comments on commit 46a9cd3

Please sign in to comment.