Skip to content

Commit

Permalink
fix: proper routing headers
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation authored and alexander-fenster committed Jan 9, 2020
1 parent 71b6561 commit 3959c6f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4,073 deletions.
2 changes: 1 addition & 1 deletion packages/google-cloud-tasks/src/v2/cloud_tasks_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ export class CloudTasksClient {
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
queue_name: request.queue!.name || '',
'queue.name': request.queue!.name || '',
});
return this._innerApiCalls.updateQueue(request, options, callback);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ export class CloudTasksClient {
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
queue_name: request.queue!.name || '',
'queue.name': request.queue!.name || '',
});
return this._innerApiCalls.updateQueue(request, options, callback);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ export class CloudTasksClient {
options.otherArgs.headers[
'x-goog-request-params'
] = gax.routingHeader.fromParams({
queue_name: request.queue!.name || '',
'queue.name': request.queue!.name || '',
});
return this._innerApiCalls.updateQueue(request, options, callback);
}
Expand Down
Loading

0 comments on commit 3959c6f

Please sign in to comment.