Bug fix for routes

This commit is contained in:
2024-12-17 12:30:55 +01:00
parent 425a1cd094
commit 0409ac3d08
3 changed files with 3 additions and 4 deletions

View File

@ -136,7 +136,6 @@ def routes():
@main_blueprint.route('/policy/<action>', methods=['GET'])
@auth.authorize_admins('default')
def policy(action):
log.debug(f"action: {action}")
policy = Policy().get()
if action == "view":
return policy.json