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

share_folder error with default values #13

Open
alexvtilburg opened this issue Oct 3, 2019 · 0 comments
Open

share_folder error with default values #13

alexvtilburg opened this issue Oct 3, 2019 · 0 comments

Comments

@alexvtilburg
Copy link

Default value $link_settings = array() gives an error: Error in call to API function "sharing/share_folder": request body: link_settings: expected object, got list

$link_settings = null works for me

public function share_folder($path, $force_async = FALSE, $acl_update_policy = "editors", $member_policy = "team", $shared_link_policy = "members", $viewer_info_policy = "enabled", $actions = array(), $link_settings = array()) {

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

No branches or pull requests

1 participant