Test
This commit is contained in:
parent
cdf5d860f3
commit
4036da611c
|
@ -237,6 +237,7 @@ router.post('/bulk-add', async (req, res) => { // Process bulk add of ACL entrie
|
|||
} catch (err) {
|
||||
log.error(`Bulk add error for card ${cardNumber}: ${err}`);
|
||||
results.push({ cardNumber, status: 'error', error: 'Internal server error' });
|
||||
res.status(500);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -162,6 +162,7 @@
|
|||
});
|
||||
}
|
||||
});
|
||||
|
||||
fetch('/acl/bulk-add', {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
|
|
Loading…
Reference in a new issue