Skip to content

Commit ce468ae

Browse files
committed
rename org replay endpoint file
1 parent 28fb209 commit ce468ae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/sentry/replays/endpoints/organization_replay_endpoint renamed to src/sentry/replays/endpoints/organization_replay_endpoint.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ def check_replay_access(self, request: Request, organization: Organization) -> R
2121
Check if the session replay feature is enabled and user has replay permissions.
2222
Returns a Response object if access should be denied, None if access is granted.
2323
"""
24-
if not features.has(
25-
"organizations:session-replay", organization, actor=request.user
26-
):
24+
if not features.has("organizations:session-replay", organization, actor=request.user):
2725
return Response(status=404)
2826

2927
if not has_replay_permission(organization, request.user):

0 commit comments

Comments
 (0)