zwischenparkung

This commit is contained in:
th committed 2026-04-12 16:09:34 +02:00
1 parent 22a43fdef7
commit ee192a15e7
15 files changed
+5365 -9

No files matched your search

+2
View File
@@ -15,6 +15,8 @@ describe('Relay: Push API', () => {
});
it('push without card_id returns error', async () => {
const settings = await fetch('api/relay/settings').then(r => r.json());
if (!settings.url || !settings.key) return; // card_id check is after config check
const res = await fetch('api/relay/push', {
method: 'POST', headers: { 'Content-Type': 'application/json', 'X-CSRF-Token': csrf() },
body: JSON.stringify({}),