|
|
@@ -87,7 +87,7 @@ export default function ProductionSchedulePage() { |
|
|
setLoading(true); |
|
|
setLoading(true); |
|
|
try { |
|
|
try { |
|
|
const response = await fetch(`${NEXT_PUBLIC_API_URL}/productionSchedule/testDetailedSchedule`, { |
|
|
const response = await fetch(`${NEXT_PUBLIC_API_URL}/productionSchedule/testDetailedSchedule`, { |
|
|
method: 'POST', |
|
|
|
|
|
|
|
|
method: 'GET', |
|
|
headers: { 'Authorization': `Bearer ${token}` } |
|
|
headers: { 'Authorization': `Bearer ${token}` } |
|
|
}); |
|
|
}); |
|
|
if (response.ok) { |
|
|
if (response.ok) { |
|
|
|