Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix undefined variable

  • Loading branch information...
commit 860e6fd321fc40bf2baaeb5844a5d9182cec7983 1 parent e52a945
@rogeriopvl authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/setup.js
View
6 lib/setup.js
@@ -7,9 +7,6 @@ module.exports = function () {
console.log('\n To use downstagram you need to authorize it to access your instagram account.');
console.log('Your browser will open for you to authorize the app...');
- console.log('\n If your browser does not open up, you can stil open it manually:');
- console.log(authURI, ' \n');
-
var authURI = [
'https://instagram.com/oauth/authorize/?',
'client_id=' + config.auth.client_id,
@@ -17,6 +14,9 @@ module.exports = function () {
'&response_type=token'
].join('');
+ console.log('\n If your browser does not open up, you can stil open it manually:');
+ console.log(authURI, ' \n');
+
open(authURI);
console.log('Now according to the intructions in the App page, insert your access token here:');
Please sign in to comment.
Something went wrong with that request. Please try again.