Skip to content

Commit

Permalink
docs: correct import statement in README sample (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajmas authored Jun 3, 2020
1 parent fc746db commit 4a8049f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-dialogflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ npm install dialogflow

```javascript

const dialogflow = require('dialogflow');
const dialogflow = require('@google-cloud/dialogflow');
const uuid = require('uuid');

/**
Expand All @@ -68,7 +68,7 @@ async function runSample(projectId = 'your-project-id') {

// Create a new session
const sessionClient = new dialogflow.SessionsClient();
const sessionPath = sessionClient.sessionPath(projectId, sessionId);
const sessionPath = sessionClient.projectAgentSessionPath(projectId, sessionId);

// The text query request.
const request = {
Expand Down

0 comments on commit 4a8049f

Please sign in to comment.