diff --git a/admin/admin.py b/admin/admin.py index abca1e935..1264e10de 100644 --- a/admin/admin.py +++ b/admin/admin.py @@ -3,8 +3,8 @@ __copyright__ = "Copyright (c) 2024, Utrecht University" __license__ = "GPLv3, see LICENSE" -from functools import wraps import json +from functools import wraps from os import path from flask import ( @@ -44,6 +44,7 @@ def decorated_function(*args, **kwargs): return decorated_function + @admin_bp.route('/set_banner', methods=['POST']) @admin_required def set_banner():