makeGoogleDriveRequest only sends query for GET:
query: method === 'GET' ? query : undefined,
Endpoints still pass query on POST/PATCH/DELETE for things like uploadType, addParents / removeParents, and supportsAllDrives. Those get stripped, so uploads and parent moves can silently miss required params.
Fix
Forward query for all methods, or at least for the mutating calls that need it.
Check
pnpm --filter @corsair-dev/googledrive test
makeGoogleDriveRequestonly sendsqueryfor GET:Endpoints still pass query on POST/PATCH/DELETE for things like
uploadType,addParents/removeParents, andsupportsAllDrives. Those get stripped, so uploads and parent moves can silently miss required params.Fix
Forward
queryfor all methods, or at least for the mutating calls that need it.Check
uploadTypeaddParents/removeParentssupportsAllDriveswhen providedpnpm --filter @corsair-dev/googledrive test