mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Make a few adjustments to match changes to the API:
* Updates the Makefile so make test works (removed js-lint action for now) * Addresses some outstanding linting/formatting * Updates dependencies and pulls in latest changes from main Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -25,7 +25,9 @@ from app.utils.user import user_is_logged_in
|
||||
def check_feature_flags():
|
||||
# Placeholder for future feature flag checks
|
||||
# Example:
|
||||
if "/jobs" in request.path and not current_app.config.get("FEATURE_SOCKET_ENABLED", False):
|
||||
if "/jobs" in request.path and not current_app.config.get(
|
||||
"FEATURE_SOCKET_ENABLED", False
|
||||
):
|
||||
abort(404)
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user