Fixes for ESLint

This commit is contained in:
YFdyh000
2017-07-09 05:47:00 +08:00
parent af3e105a41
commit 0a745348f3
14 changed files with 39 additions and 26 deletions
+3
View File
@@ -2,6 +2,9 @@
Fetch the user's info, passing in the access token in the Authorization
HTTP request header.
*/
/* exported getUserInfo */
function getUserInfo(accessToken) {
const requestURL = "https://www.googleapis.com/oauth2/v1/userinfo?alt=json";
const requestHeaders = new Headers();