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

[Docs] Update unsetRelation() example in teams-permissions.md #2534

Merged
merged 1 commit into from
Oct 30, 2023

Conversation

shdehnavi
Copy link
Contributor

@shdehnavi shdehnavi commented Oct 30, 2023

In the teams-permissions doc, unsetRelation() method invoked with 2 parameters, but the method signature uses 1 parameter.
See the Method Reference

I made the changes and we need to call unsetRelation() method twice for models and permissions relations

@shdehnavi shdehnavi changed the title [DOC] Update teams-permissions.md [Docs] Update teams-permissions.md Oct 30, 2023
@drbyte drbyte changed the title [Docs] Update teams-permissions.md [Docs] Update unsetRelation() example in teams-permissions.md Oct 30, 2023
@drbyte
Copy link
Collaborator

drbyte commented Oct 30, 2023

Thanks!

@drbyte drbyte merged commit a5142d9 into spatie:main Oct 30, 2023
22 checks passed
@shdehnavi shdehnavi deleted the update-teams-permission-doc branch October 31, 2023 07:40
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

Successfully merging this pull request may close these issues.

2 participants