Only getting first 50 results

I’m querying auth0 from within my javascript code, but I’m not getting the full set of users back I only get the first 50. See my code below
const ManagementClient = require(‘auth0’).ManagementClient
const logger = require(’…/…/src/logger’)
const { consoleError, consoleDev, consoleWarn, objectSort, consoleATTN, jsonStr } = require(’…/…/src/helper’) // eslint-disable-line no-unused-vars
const thisFile = 'graphql/components/user ’ // eslint-disable-line no-unused-vars

const schema = type User { email: String name: String user_id: String app_metadata: MetaData } type MutationOutput { value: Boolean! } type MetaData { blacklist: Boolean campaigns: [String] type: String session: String zipwhip: String extension: Int } input inputMetaData { campaigns: [String] extension: Int } input UserInput { userId: String } input TsheetsUserInput { email: String firstName: String lastName: String } input UserUpdateInput { userId: String! userMetadata: String } input AppUpdateInput{ userId: String! appMetadata: inputMetaData } extend type Query { users: [User] userFromTsheets(input: TsheetsUserInput): User userMetaData(input: UserInput): MetaData } extend type Mutation { updateAppMetadata(input: AppUpdateInput): MutationOutput updateUserCampaignMetaData(input: UserUpdateInput): MutationOutput updateZipWhipMetaData(input: UserUpdateInput): MutationOutput }

const resolvers = {
Query: {
users: async (root, args) => {
const auth0 = new ManagementClient({
domain: process.env.AUTH0_MANAGEMENT_DOMAIN,
clientId: process.env.AUTH0_MANAGEMENT_CLIENT,
clientSecret: process.env.AUTH0_MANAGEMENT_SECRET,
scope: ‘read:users update:users’
})
const request = new Promise((resolve, reject) => {
const params = {
// search_engine: ‘v3’,
sort: ‘name:1’
// per_page: 10,
// page: 0
}

    auth0.getUsers(params)
      .then((users) => {
        resolve(users)
        consoleDev(users.length)
      })
      .catch((err) => {
        console.log(err)
        reject(new Error(err))
      })
  })
  const data = await (request.then())
  for (const user of data) {
    if (user.app_metadata) {
      if (user.app_metadata.campaigns && !Array.isArray(user.app_metadata.campaigns)) {
        user.app_metadata.campaigns = [user.app_metadata.campaigns]
      }
    }
  }
  return (data)
}