Skip to content

Commit

Permalink
Add Script explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
grant committed Jun 4, 2018
1 parent 9195e94 commit 92359db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { OAuth2Client } from 'google-auth-library';
import { google } from 'googleapis';
import { Drive } from 'googleapis/build/src/apis/drive/v3';
import { Logging } from 'googleapis/build/src/apis/logging/v2';
import { Script } from 'googleapis/build/src/apis/script/v1';
import { ClaspSettings, DOTFILE, ERROR, LOG, checkIfOnline } from './utils';
import open = require('open');
import readline = require('readline');
Expand Down Expand Up @@ -37,7 +38,7 @@ export const oauth2Client = new OAuth2Client(oauth2ClientSettings);
export const script = google.script({
version: 'v1',
auth: oauth2Client,
});
}) as Script;
export const logger = google.logging({
version: 'v2',
auth: oauth2Client,
Expand Down

0 comments on commit 92359db

Please sign in to comment.