diff --git a/source/app/blueprints/profile/profile_routes.py b/source/app/blueprints/profile/profile_routes.py index 9a2ce65f5..7c8db9603 100644 --- a/source/app/blueprints/profile/profile_routes.py +++ b/source/app/blueprints/profile/profile_routes.py @@ -120,7 +120,7 @@ def update_pwd_modal(caseid, url_redir): @profile_blueprint.route('/user/update', methods=['POST']) @ac_api_requires() -def update_user_view(caseid): +def update_user_view(): try: user = get_user(current_user.id) if not user: @@ -140,7 +140,7 @@ def update_user_view(caseid): db.session.commit() if cuser: - track_activity("user {} updated itself".format(user.user), caseid=caseid) + track_activity("user {} updated itself".format(user.user)) return response_success("User updated", data=user_schema.dump(user)) return response_error("Unable to update user for internal reasons")