Skip to content

Commit 838c889

Browse files
authored
fix: remove api key (#163)
closes #69
1 parent 5db6f50 commit 838c889

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drive/quickstart/index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,8 @@
3535
/* exported handleAuthClick */
3636
/* exported handleSignoutClick */
3737

38-
// TODO(developer): Set to client ID and API key from the Developer Console
38+
// TODO(developer): Set to client ID from the Developer Console
3939
const CLIENT_ID = '<YOUR_CLIENT_ID>';
40-
const API_KEY = '<YOUR_API_KEY>';
4140

4241
// Discovery doc URL for APIs used by the quickstart
4342
const DISCOVERY_DOC = 'https://www.googleapis.com/discovery/v1/apis/drive/v3/rest';
@@ -66,7 +65,6 @@
6665
*/
6766
async function initializeGapiClient() {
6867
await gapi.client.init({
69-
apiKey: API_KEY,
7068
discoveryDocs: [DISCOVERY_DOC],
7169
});
7270
gapiInited = true;

0 commit comments

Comments
 (0)