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

Update Many Users like describe in example doesn't work #405

Open
avarennes opened this issue Jan 25, 2024 · 0 comments
Open

Update Many Users like describe in example doesn't work #405

avarennes opened this issue Jan 25, 2024 · 0 comments

Comments

@avarennes
Copy link

* const updatedUsers = await client.users.updateMany([12345, 67890], [{name: 'John Doe'}, {name: 'Jane Smith'}]);

Hi,

When I use client.users.updateMany like the exemple I've got 400 error.

I managed to use this method with args below

await client.users.updateMany({ ids: [123456].join(''), user: { tags: ["my_tag"] } }, [])

I don't think this is the good way to use this method. Maybe a bug in this method...

Please, give me answer about that.

Thx

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