Skip to content

Commit e792bab

Browse files
callmehiphopBenjamin E. Coe
authored andcommitted
docs(samples): remove session option from query params (#427)
1 parent c4dc39c commit e792bab

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

dialogflow/detect.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Copyright 2017, Google, Inc.
2+
* Copyright 2017 Google LLC
33
* Licensed under the Apache License, Version 2.0 (the "License");
44
* you may not use this file except in compliance with the License.
55
* You may obtain a copy of the License at
@@ -195,9 +195,6 @@ async function streamingDetectIntent(
195195

196196
const initialStreamRequest = {
197197
session: sessionPath,
198-
queryParams: {
199-
session: sessionClient.sessionPath(projectId, sessionId),
200-
},
201198
queryInput: {
202199
audioConfig: {
203200
audioEncoding: encoding,

0 commit comments

Comments
 (0)