Skip to content

Commit

Permalink
fix: typo initializeGapiClient (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
shinenic committed Jul 20, 2022
1 parent 03918cc commit d68279f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drive/quickstart/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@
* Callback after api.js is loaded.
*/
function gapiLoaded() {
gapi.load('client', intializeGapiClient);
gapi.load('client', initializeGapiClient);
}

/**
* Callback after the API client is loaded. Loads the
* discovery doc to initialize the API.
*/
async function intializeGapiClient() {
async function initializeGapiClient() {
await gapi.client.init({
apiKey: API_KEY,
discoveryDocs: [DISCOVERY_DOC],
Expand Down

0 comments on commit d68279f

Please sign in to comment.