Environment details
- OS: OSX Mojave
- Node.js version: v10.13.0
- npm version: 6.7.0
googleapis version: 37.2.0
Steps to reproduce
- Try to upload a file to drive
- Docs say to use
media.mimeType but the typing says media.mediaType is correct
- It works when using
media.mimeType but fails when using media.mediaType
Check the docs example (works): https://developers.google.com/drive/api/v3/manage-uploads#convert
See code in question:
❓ Shall I create a PR?
Environment details
googleapisversion: 37.2.0Steps to reproduce
media.mimeTypebut the typing saysmedia.mediaTypeis correctmedia.mimeTypebut fails when usingmedia.mediaTypeCheck the docs example (works): https://developers.google.com/drive/api/v3/manage-uploads#convert
See code in question:
google-api-nodejs-client/src/apis/drive/v3.ts
Line 2855 in 79881b0
❓ Shall I create a PR?