Skip to content

Commit 2950c40

Browse files
committed
fix(api): Remove misleading permission comment
The comment said "let anyone in the org use this endpoint" but the previous permission class (SentryIsAuthenticated) didn't actually enforce org membership. Now that the permission class is correct, the comment is redundant and could mislead future readers.
1 parent 1ed559c commit 2950c40

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/sentry/api/endpoints/organization_onboarding_continuation_email.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ class OrganizationOnboardingContinuationEmail(OrganizationEndpoint):
5151
"POST": ApiPublishStatus.PRIVATE,
5252
}
5353
owner = ApiOwner.TELEMETRY_EXPERIENCE
54-
# let anyone in the org use this endpoint
5554
permission_classes = (OnboardingContinuationPermission,)
5655

5756
def post(self, request: Request, organization: Organization):

0 commit comments

Comments
 (0)