Admin List Users not returning Pagination data

Hi guys! I just recently updated my better auth to 1.2.4 because previously on 1.1.1 I was only able to get the list of users from the listUsers API. However, after upgrading I'm still not able to get the pagination information from this endpoint. Any idea why?


const response = await authClient.admin.listUsers({
        query: {
          limit,
          offset,
          searchValue: options.search,
          searchField: "name",
        },
      });
Was this page helpful?