Skip to content

Commit

Permalink
docs(samples): remove session option from query params (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
callmehiphop authored and bcoe committed Sep 10, 2019
1 parent 782d36d commit 748a396
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions dialogflow/detect.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2017, Google, Inc.
* Copyright 2017 Google LLC
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
Expand Down Expand Up @@ -195,9 +195,6 @@ async function streamingDetectIntent(

const initialStreamRequest = {
session: sessionPath,
queryParams: {
session: sessionClient.sessionPath(projectId, sessionId),
},
queryInput: {
audioConfig: {
audioEncoding: encoding,
Expand Down

0 comments on commit 748a396

Please sign in to comment.