Browse Source

fixing the ps export path

MergeProblem1
[email protected] 2 weeks ago
parent
commit
363306c98e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/app/(main)/ps/page.tsx

+ 1
- 1
src/app/(main)/ps/page.tsx View File

@@ -104,7 +104,7 @@ export default function ProductionSchedulePage() {
const handleExport = async () => {
const token = localStorage.getItem("accessToken");
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',
headers: { 'Authorization': `Bearer ${token}` }
});


Loading…
Cancel
Save