Skip to content

Commit 2f1a1d4

Browse files
committed
Removed unused function
1 parent 7f3dcd7 commit 2f1a1d4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

source/app/blueprints/rest/v2/alerts.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,6 @@ def get_related_alerts(self, identifier):
171171

172172
try:
173173
alert = alerts_get(iris_current_user, identifier)
174-
if not user_has_client_access(iris_current_user.id, alert.alert_customer_id):
175-
return response_api_error('Alert not found')
176174

177175
open_alerts = request.args.get('open-alerts', 'false').lower() == 'true'
178176
open_cases = request.args.get('open-cases', 'false').lower() == 'true'

0 commit comments

Comments
 (0)