Skip to content

Commit 809b1f3

Browse files
integrate google-auth-library
1 parent 74ced67 commit 809b1f3

File tree

10 files changed

+811
-380
lines changed

10 files changed

+811
-380
lines changed

.jshintrc

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,13 @@
1515
"strict": true,
1616
"trailing": true,
1717
"undef": true,
18-
"unused": true
18+
"unused": true,
19+
"globals": {
20+
"describe": true,
21+
"it": true,
22+
"before": true,
23+
"after": true,
24+
"beforeEach": true,
25+
"afterEach": true
26+
}
1927
}

lib/bigquery/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ function BigQuery(options) {
112112
this.makeAuthorizedRequest_ = util.makeAuthorizedRequest({
113113
credentials: options.credentials,
114114
keyFile: options.keyFilename,
115-
scopes: SCOPES
115+
scopes: SCOPES,
116+
email: options.email
116117
});
117118

118119
this.projectId = options.projectId;

0 commit comments

Comments
 (0)