Skip to content

Commit d79071c

Browse files
author
Dan Lister
committed
Response bitly urls are now added to the text input when returned for bitly #1
1 parent a5baa70 commit d79071c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/AgeBase.BitlyUrlShortener/Controllers/Controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"longUrl": window.location.protocol + "//" + window.location.host + nodeUrl
1414
},
1515
function (response) {
16-
if (response && response.data && response.url)
16+
if (response && response.data && response.data.url)
1717
$scope.model.value = response.data.url;
1818
else
1919
$scope.model.value = "";

0 commit comments

Comments
 (0)