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

Documentation error for Cards#pass method #6668

Closed
aaclayton opened this issue Feb 8, 2022 · 0 comments
Closed

Documentation error for Cards#pass method #6668

aaclayton opened this issue Feb 8, 2022 · 0 comments
Assignees
Labels
cards Issues related to Cards and the Cards system documentation Improvements or additions to documentation

Comments

@aaclayton
Copy link
Contributor

Originally in GitLab by @Thomas-E-Ulisses

The actual signature of the method is

async pass(to, ids, {updateData={}, action="pass", chatNotification=true}={})

and not

async pass(to, ids, updateData={], action="pass", chatNotification=true)

See https://foundryvtt.com/api/Cards.html#pass

@aaclayton aaclayton self-assigned this Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cards Issues related to Cards and the Cards system documentation Improvements or additions to documentation
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant