Remove current user_ids from error
This commit is contained in:
2
app.py
2
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,
|
||||
|
||||
Reference in New Issue
Block a user