Skip to content

Commit c47e758

Browse files
committed
Use epoch-aware defaults in bulk preference reads
Co-authored-by: Armen Zambrano G. <armenzg@users.noreply.github.com> Applied via @cursor push command
1 parent 35bbeff commit c47e758

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sentry/seer/autofix/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ def bulk_read_preferences_from_sentry_db(
787787
def get_project_option(key: str) -> Any:
788788
value = project_options[key][project.id]
789789
if value is None:
790-
return projectoptions.lookup_well_known_key(key).default
790+
return projectoptions.lookup_well_known_key(key).get_default(project)
791791
return value
792792

793793
result[project.id] = SeerProjectPreference(

0 commit comments

Comments
 (0)