Skip to content

Commit 1d03331

Browse files
ref(quick-start): Update backend enums names
1 parent 99a7da9 commit 1d03331

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/sentry/models/organizationonboardingtask.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class OrganizationOnboardingTask(AbstractOnboardingTask):
142142

143143
# Tasks which should be completed for the onboarding to be considered
144144
# complete.
145-
NEW_REQUIRED_ONBOARDING_TASKS = frozenset(
145+
REQUIRED_ONBOARDING_TASKS = frozenset(
146146
[
147147
OnboardingTask.FIRST_PROJECT,
148148
OnboardingTask.FIRST_EVENT,
@@ -157,9 +157,9 @@ class OrganizationOnboardingTask(AbstractOnboardingTask):
157157
]
158158
)
159159

160-
NEW_REQUIRED_ONBOARDING_TASKS_WITH_SOURCE_MAPS = frozenset(
160+
REQUIRED_ONBOARDING_TASKS_WITH_SOURCE_MAPS = frozenset(
161161
[
162-
*NEW_REQUIRED_ONBOARDING_TASKS,
162+
*REQUIRED_ONBOARDING_TASKS,
163163
OnboardingTask.SOURCEMAPS,
164164
]
165165
)

src/sentry/onboarding_tasks/backends/organization_onboarding_task.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ def try_mark_onboarding_complete(
5656
# It's possible that the first project doesn't have source maps,
5757
# but the second project (which users are guided to create in the "Add Sentry to other parts of the app" step) may have source maps.
5858
required_tasks = (
59-
OrganizationOnboardingTask.NEW_REQUIRED_ONBOARDING_TASKS_WITH_SOURCE_MAPS
59+
OrganizationOnboardingTask.REQUIRED_ONBOARDING_TASKS_WITH_SOURCE_MAPS
6060
if project_with_source_maps
61-
else OrganizationOnboardingTask.NEW_REQUIRED_ONBOARDING_TASKS
61+
else OrganizationOnboardingTask.REQUIRED_ONBOARDING_TASKS
6262
)
6363

6464
if completed >= required_tasks:

0 commit comments

Comments
 (0)