Fixes, plus function related code

This commit is contained in:
fkereki
2018-03-29 14:47:23 -03:00
parent 72034b13e4
commit b30b89aa78
4 changed files with 73 additions and 6 deletions
@@ -14,7 +14,7 @@ async function getMontevideo() {
try {
const montevideoData = await get_weather(MONTEVIDEO_UY);
console.log("Montevideo, with promises");
console.log("Montevideo, with async/await");
console.log(`Montevideo: ${montevideoData.data.length} bytes`);
} catch (error) {
console.log(error.message);