Skip to content

Commit 1c0b841

Browse files
committed
fix: Remove export keyword from quickstart body
1 parent 0221d85 commit 1c0b841

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

adminSDK/directory/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const readline = require('readline');
2020
const {google} = require('googleapis');
2121

2222
// If modifying these scopes, delete token.json.
23-
export const SCOPES = ['https://www.googleapis.com/auth/admin.directory.user'];
23+
const SCOPES = ['https://www.googleapis.com/auth/admin.directory.user'];
2424
// The file token.json stores the user's access and refresh tokens, and is
2525
// created automatically when the authorization flow completes for the first
2626
// time.
@@ -101,7 +101,7 @@ function storeToken(token) {
101101
*
102102
* @param {google.auth.OAuth2} auth An authorized OAuth2 client.
103103
*/
104-
export function listUsers(auth) {
104+
function listUsers(auth) {
105105
const service = google.admin({version: 'directory_v1', auth});
106106
service.users.list({
107107
customer: 'my_customer',

adminSDK/reports/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const readline = require('readline');
2020
const {google} = require('googleapis');
2121

2222
// If modifying these scopes, delete token.json.
23-
export const SCOPES = ['https://www.googleapis.com/auth/admin.reports.audit.readonly'];
23+
const SCOPES = ['https://www.googleapis.com/auth/admin.reports.audit.readonly'];
2424
// The file token.json stores the user's access and refresh tokens, and is
2525
// created automatically when the authorization flow completes for the first
2626
// time.
@@ -101,7 +101,7 @@ function storeToken(token) {
101101
*
102102
* @param {google.auth.OAuth2} auth An authorized OAuth2 client.
103103
*/
104-
export function listLoginEvents(auth) {
104+
function listLoginEvents(auth) {
105105
const service = google.admin({version: 'reports_v1', auth});
106106
service.activities.list({
107107
userKey: 'all',

adminSDK/reseller/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const readline = require('readline');
2020
const {google} = require('googleapis');
2121

2222
// If modifying these scopes, delete token.json.
23-
export const SCOPES = ['https://www.googleapis.com/auth/apps.order'];
23+
const SCOPES = ['https://www.googleapis.com/auth/apps.order'];
2424
// The file token.json stores the user's access and refresh tokens, and is
2525
// created automatically when the authorization flow completes for the first
2626
// time.

0 commit comments

Comments
 (0)