Skip to content

Commit

Permalink
docs: sample fix (#1907)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-goog authored Jan 10, 2025
1 parent f52a190 commit 970b135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/authenticateAPIKey.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ function main() {
const language = new LanguageServiceClient({apiKey});

// Alternatively:
// const auth = new GoogleAuth({apiKey});
// const {GoogleAuth} = require('google-auth-library');
// const auth = new GoogleAuth({apiKey});
// const language = new LanguageServiceClient({auth});

const text = 'Hello, world!';
Expand Down

0 comments on commit 970b135

Please sign in to comment.