Explorar el Código

fixing the ps export path

MergeProblem1
[email protected] hace 2 semanas
padre
commit
363306c98e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/app/(main)/ps/page.tsx

+ 1
- 1
src/app/(main)/ps/page.tsx Ver fichero

@@ -104,7 +104,7 @@ export default function ProductionSchedulePage() {
const handleExport = async () => { const handleExport = async () => {
const token = localStorage.getItem("accessToken"); const token = localStorage.getItem("accessToken");
try { try {
const response = await fetch(`${NEXT_PUBLIC_API_URL}/ps/export-prod-schedule`, {
const response = await fetch(`${NEXT_PUBLIC_API_URL}/productionSchedule/export-prod-schedule`, {
method: 'POST', method: 'POST',
headers: { 'Authorization': `Bearer ${token}` } headers: { 'Authorization': `Bearer ${token}` }
}); });


Cargando…
Cancelar
Guardar