Skip to content

Commit

Permalink
[FIX] Fix url generated field
Browse files Browse the repository at this point in the history
  • Loading branch information
renesansz committed Jan 29, 2016
1 parent 3acdbc6 commit 91b7270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testbed/www/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ function GenerateShortUrl()

Branch.generateShortUrl(properties, controlParams).then(function (res) {
console.log(res);
document.getElementById('generated-url').value = res.generatedLink;
document.getElementById('generated-url').value = res.url;
}).catch(function (err) {
console.error(err);
alert('Error: ' + JSON.stringify(err));
Expand Down

0 comments on commit 91b7270

Please sign in to comment.