link-shortener
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -12,2 +12,3 @@ module.exports.Shorten = async function(url) { | ||
.then((response) => { | ||
console.log("RESPONSE: " + response) | ||
return response | ||
@@ -17,3 +18,3 @@ }) | ||
result = content.data.url.shortLink | ||
console.log(content.data.url.shortLink) | ||
console.log("SHORT LINK:" + content.data.url.shortLink) | ||
}) | ||
@@ -29,4 +30,4 @@ .catch((err) => { | ||
} | ||
return result | ||
// return result | ||
} |
{ | ||
"name": "link-shortener", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "A cuttly wrapper to shorten your url's", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
1602
27