Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unshare: use by default accountType User
Fixes #747. By default use accountType User, as is done with share, so that users can easily do things like ```shell $ drive unshare -emails somebody@gmail.com -id some_id ``` instead of getting back a cryptic error ```shell no matches found! ``` and the common assumptions will work without them having to know the entire setup of share and unshare. I too found this confusing and had to step back a little to figure out that previously the accountTypes were never set hence the loop that runs through each file never runs. This change also ensures that if errors were encountered entirely errors, without any successful shares/unshares, we won't give back the previously cryptic and not useful error of ```shell no matches found! ```
- Loading branch information