From 34186d25a067dc2a3ad8f039fc3535dc2f07e7f8 Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Thu, 21 Dec 2023 22:34:03 +1100 Subject: [PATCH] Remove current user_ids from error --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index e16eed8..1627545 100644 --- a/app.py +++ b/app.py @@ -246,7 +246,7 @@ def execute_http_function(user_id, function): return login_manager.unauthorized() if int(current_user.id) != user_id: - return jsonify({'error': 'Function belongs to another user', 'current_user_id': current_user.id, 'user_id': user_id}), 404 + return jsonify({'error': 'Function belongs to another user'}), 404 request_data = { 'method': request.method,