zwischenparkung
This commit is contained in:
1 parent
22a43fdef7
commit
ee192a15e7
15 files changed
+5365
-9
No files matched your search
@@ -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({}),
|
||||
|
||||
Reference in new issue
Block a user