Commit 6c898525 authored by guillecxb's avatar guillecxb
Browse files

update helm env variables

parent 39c39456
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,6 +3,6 @@ NEXT_PUBLIC_JWT_SECRET=dd5f3089-40c3-403d-af14-d0c228b05cb4
NEXT_PUBLIC_JWT_REFRESH_TOKEN_SECRET=7c4c1c50-3230-45bf-9eae-c9b2e401c767
# NEXT_PUBLIC_API_BASE_URL="https://backoffice-api.mobilesandbox.cloud:38443"
# NEXT_PUBLIC_API_BASE_URL="http://localhost:8085/api"
NEXT_PUBLIC_API_BASE_URL="https//backoffice-api.mobilesandbox.cloud:38443"
NEXT_PUBLIC_API_BASE_URL="https://backoffice.mobilesandbox.cloud:38443/api"
NEXT_PUBLIC_GRAFANA_BASE_URL="https://grafana.5gnacar.int"
NODE_ENV=development
+9 −3
Original line number Diff line number Diff line
@@ -177,9 +177,15 @@ export const deleteProvidersServices = async apis => {


// USERS
export const getUsers = async id => {
  return axiosInstance.get(`/users/users`)
}
// export const getUsers = async id => {
//   return axiosInstance.get(`/users/?page=1&pageSize=10&order=asc`)
// }

export const getUsers = async () => {
  const response = await axiosInstance.get(`/users/?page=1&pageSize=10&order=asc`);
  
  return response.data;  // Devolver solo los datos relevantes
};

export const getUsersPagesOrder = async ({ page, pageSize, order }) => {
  try {
+1 −1
Original line number Diff line number Diff line
@@ -298,7 +298,7 @@ const Homedash = () => {
              >
                <CardContent style={{ textAlign: 'center' }}>
                  <Typography variant='h5'>Users:</Typography>
                  <Typography variant='h4' sx={{ marginBottom: 6 }}>{usersData?.total}</Typography>
                  <Typography variant='h4' sx={{ marginBottom: 6 }}>{usersNum?.data}</Typography>
                  {!usersData?.data && <CircularProgress />}
                  {usersData?.data && (
                    <>