SCRT-HQ / PSGSuite

Powershell module for Google / G Suite API calls wrapped in handy functions. Authentication is established using a service account via P12 key to negate the consent popup and allow for greater handsoff automation capabilities
https://psgsuite.io/
Apache License 2.0
235 stars 67 forks source link

New-GSDriveFile -Fields option never honored (just like #190) #201

Closed WJurecki closed 5 years ago

WJurecki commented 5 years ago

New-GSDriveFile -Fields option never honored (just like #190 )

This, I believe, is the same logic bug you fixed in Get-GSDriveFile in bug #190

This is much less of an issue as New-GSDriveFile creates only one file at a time and therefore only returns the results of one file which fits entirely in one round-trip. but it's a bug nonetheless.

scrthq commented 5 years ago

Very valid finding! I'm going to take this and run with checking any functions out that may have the Fields parameter. If it is expected to work, then by all means it should 😃

Thanks @WJurecki !!

scrthq commented 5 years ago

Should be all wrapped up now! Thanks for opening this up @WJurecki !