Skip to content

Commit

Permalink
Merge pull request #41 from yokoe/master
Browse files Browse the repository at this point in the history
GoogleAuthDefaultConfig discoveryDocs option should be removed. 
@yokoe  thanks!
  • Loading branch information
guruahn authored Jul 8, 2020
2 parents cf0ad2e + 648ef26 commit fe80ff8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function installGoogleAuthPlugin(Vue, options) {
/* eslint-disable */
//set config
let GoogleAuthConfig = null
let GoogleAuthDefaultConfig = { scope: 'profile email', discoveryDocs: ['https://www.googleapis.com/discovery/v1/apis/drive/v3/rest'] }
let GoogleAuthDefaultConfig = { scope: 'profile email' }
let prompt = 'select_account'
if (typeof options === 'object') {
GoogleAuthConfig = Object.assign(GoogleAuthDefaultConfig, options)
Expand Down
1 change: 0 additions & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ function installGoogleAuthPlugin(Vue: typeof _Vue, options?: any): void {
let GoogleAuthConfig: any = null;
const GoogleAuthDefaultConfig = {
scope: 'profile email',
discoveryDocs: ['https://www.googleapis.com/discovery/v1/apis/drive/v3/rest'],
};
let prompt = 'select_account';
if (typeof options === 'object') {
Expand Down

0 comments on commit fe80ff8

Please sign in to comment.