mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-13 09:50:08 -04:00
Fix 500s when requesting json after logged out:
* Update permissions decorator to make sure user is logged in first, else 401 * Stop further ajax json calls on failure
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
).done(
|
||||
response => flushQueue(queue, response)
|
||||
).fail(
|
||||
() => clearQueue(queue)
|
||||
() => poll = function(){}
|
||||
);
|
||||
|
||||
setTimeout(
|
||||
|
||||
Reference in New Issue
Block a user