diff --git a/views/acl-edit.ejs b/views/acl-edit.ejs index 9d2e50d..76148a6 100644 --- a/views/acl-edit.ejs +++ b/views/acl-edit.ejs @@ -59,6 +59,7 @@ document.getElementById('acl-edit-form').addEventListener('submit', function(e) headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(data) }).then(res => { + console.log(res.status, res.statusText); if (res.ok) window.location.href = '/acl'; else alert('Failed to update ACL entry'); }).catch(err => {