Fix consistentie benamingen.
This commit is contained in:
+3
-1
@@ -5015,7 +5015,9 @@ async function checkOutlookChanges(isManual = false) {
|
||||
}
|
||||
|
||||
try {
|
||||
const res = await fetch(`/api/planner.php?action=check_outlook_sync&plan_date=${encodeURIComponent(activePlannerDate)}&week_start=${encodeURIComponent(weekStartDate)}&week_end=${encodeURIComponent(weekEndDate)}&last_hash=${encodeURIComponent(currentSyncHash)}`);
|
||||
const res = await fetch(`/api/planner.php?action=check_outlook_sync&plan_date=${encodeURIComponent(activePlannerDate)}&week_start=${encodeURIComponent(weekStartDate)}&week_end=${encodeURIComponent(weekEndDate)}&last_hash=${encodeURIComponent(currentSyncHash)}`, {
|
||||
headers: isManual ? {} : { 'X-Background-Poll': '1' }
|
||||
});
|
||||
if (!res.ok) throw new Error('Netwerkfout bij synchronisatie controle');
|
||||
const data = await res.json();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user