Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion source/app/blueprints/rest/alerts_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ def alerts_batch_update_route() -> Response:
if not ac_current_user_has_customer_access(alert.alert_customer_id):
return response_error('User not entitled to update alerts for the client', status=403)

if alert.alert_owner_id is None:
if alert.alert_owner_id is None and 'alert_owner_id' not in updates:
updates['alert_owner_id'] = iris_current_user.id

if data.get('alert_owner_id') == "-1" or data.get('alert_owner_id') == -1:
Expand Down