|
|
@@ -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}` } |
|
|
}); |
|
|
}); |
|
|
|