Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use requestBody instead of resource #345

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

faheel
Copy link

@faheel faheel commented Jan 28, 2023

The resource key was changed to requestBody in Google APIs v40 (googleapis/google-api-nodejs-client#1149)

Though using resource still works, the TypeScript definitions in https://github.com/googleapis/google-api-nodejs-client only include requestBody, so using resource causes the TypeScript compiler to show an error.

Closes #77

@faheel
Copy link
Author

faheel commented Jun 21, 2023

@jpoehnelt Can you please review this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade samples to v40 and use new requestBody key
2 participants