AddOn/Datenexport_Zeiterfassung/test.html aktualisiert

This commit is contained in:
olaf.braun 2025-06-25 22:15:02 +02:00
parent e321dc2d4a
commit 408bb3ae26
1 changed files with 2 additions and 2 deletions

View File

@ -154,12 +154,12 @@
DateUntil: dateUntil
});
if (!result.Result) {
if (!result) {
throw new Error('Kein Result im Antwortobjekt ('+result+')');
}
// Exportdaten abrufen (Result ist GUID)
const exportData = await apiRequest(baseUrl, token, apiSite, 'GET', `api/export/${result.Result}`);
const exportData = await apiRequest(baseUrl, token, apiSite, 'GET', `api/export/${result}`);
const pre = document.getElementById('exportResult');
if (typeof exportData === 'object') {