Backup-Verwaltung gefixt
Dieser Commit ist enthalten in:
1
backups/backup_v2docker_20250618_024414_encrypted.sql.gz.enc
Normale Datei
1
backups/backup_v2docker_20250618_024414_encrypted.sql.gz.enc
Normale Datei
Dateidiff unterdrückt, weil mindestens eine Zeile zu lang ist
@@ -1,38 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>API Test</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Test Customer Licenses API</h1>
|
||||
<button onclick="testAPI()">Test API</button>
|
||||
<pre id="result"></pre>
|
||||
|
||||
<script>
|
||||
function testAPI() {
|
||||
// Test mit einem bekannten Kunden
|
||||
fetch('/api/customer/1/licenses')
|
||||
.then(response => {
|
||||
console.log('Response status:', response.status);
|
||||
console.log('Response headers:', response.headers);
|
||||
return response.text();
|
||||
})
|
||||
.then(text => {
|
||||
console.log('Raw response:', text);
|
||||
try {
|
||||
const data = JSON.parse(text);
|
||||
console.log('Parsed data:', data);
|
||||
document.getElementById('result').textContent = JSON.stringify(data, null, 2);
|
||||
} catch (e) {
|
||||
console.error('Parse error:', e);
|
||||
document.getElementById('result').textContent = 'Parse error: ' + e + '\n\nRaw response:\n' + text;
|
||||
}
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Fetch error:', error);
|
||||
document.getElementById('result').textContent = 'Fetch error: ' + error;
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren