8000 fix(docs): add missing comma in listUsers query parameters by Liry24 · Pull Request #2635 · better-auth/better-auth · GitHub
[go: up one dir, main page]

Skip to content

fix(docs): add missing comma in listUsers query parameters #2635

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

Merged
merged 1 commit into from
May 13, 2025

Conversation

Liry24
Copy link
Contributor
@Liry24 Liry24 commented May 13, 2025

I discovered what appears to be a missing comma in a snippet in the /plugins/admin of the documentation, so I will fix it.

Thank you.

https://www.better-auth.com/docs/plugins/admin

const users = await authClient.admin.listUsers({
    query: {
        searchField: "email",
        searchOperator: "contains",
        searchValue: "@example.com",
        limit: 10,
        offset: 0,
        sortBy: "createdAt",
-       sortDirection: "desc"
+       sortDirection: "desc",
        filterField: "role",
        filterOperator: "eq",
        filterValue: "admin"
    }
});

8000 Copy link
vercel bot commented May 13, 2025

@Liry24 is attempting to deploy a commit to the better-auth Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
pkg-pr-new bot commented May 13, 2025

Open in StackBlitz

npm i https://pkg.pr.new/better-auth/better-auth@2635
npm i https://pkg.pr.new/better-auth/better-auth/@better-auth/cli@2635
npm i https://pkg.pr.new/better-auth/better-auth/@better-auth/expo@2635
npm i https://pkg.pr.new/better-auth/better-auth/@better-auth/stripe@2635

commit: f6aa173

@Liry24 Liry24 marked this pull request as ready for review May 13, 2025 07:50
Copy link
@mrge-io mrge-io bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mrge reviewed 1 file and found no issues. Review PR in mrge.io.

@Kinfe123 Kinfe123 merged commit d500ede into better-auth:main May 13, 2025
4 of 6 checks passed
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
0