]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/commitdiff
No need to set gQuery prior to exit
authorJohannes Zellner <johannes@cloudron.io>
Thu, 9 Feb 2017 12:18:57 +0000 (13:18 +0100)
committerJohannes Zellner <johannes@cloudron.io>
Thu, 9 Feb 2017 12:18:57 +0000 (13:18 +0100)
cli/actions.js

index 065e700c4853e150d6623fd608f2accf12fa0ede..5ad9dc69b95a1c8425c88935d369f47c820950dd 100644 (file)
@@ -87,8 +87,6 @@ function login(uri) {
         config.set('server', server);
         config.set('accessToken', result.body.accessToken);
 
-        gQuery = { access_token: result.body.accessToken };
-
         console.log('Login successful'.green);
     });
 }