text: // usersController.js
  // Import user model
  const SiigoInstance = require('./auth.controller')
  // Handle index actions
  const environment = require('../config/environment')
  
  exports.getUsers = async (req, res) => {
    try {
      const apiInstance = new SiigoInstance.SiigoApi.UsersApi()
      const opts = {
        page: req.body.page,
        pageSize: req.body.pageSize
      }
  
      const data = await apiInstance.getUsers(opts)
      res.status(200).json(data)
    } catch (error) {
      res.json({
        status: 'Error',
        message: 'Something was wrong',
        error: error
      })
    }
  }
  