auth func
This commit is contained in:
@@ -15,6 +15,7 @@ function captureInput() {
|
|||||||
console.log(command);
|
console.log(command);
|
||||||
if (command in dict) {
|
if (command in dict) {
|
||||||
dict[command](input.substring(untilSpace+1));
|
dict[command](input.substring(untilSpace+1));
|
||||||
|
google_auth();
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
console.log("not a valid command");
|
console.log("not a valid command");
|
||||||
@@ -22,7 +23,7 @@ function captureInput() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
function google_auth() {
|
||||||
// Client ID and API key from the Developer Console
|
// Client ID and API key from the Developer Console
|
||||||
var CLIENT_ID = '282164278400-fibsdnpmvl7hnhu0v837mql3f5u0b8lu.apps.googleusercontent.com';
|
var CLIENT_ID = '282164278400-fibsdnpmvl7hnhu0v837mql3f5u0b8lu.apps.googleusercontent.com';
|
||||||
|
|
||||||
@@ -135,3 +136,4 @@ function listUpcomingEvents() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user