Skip to content

Commit 424f31b

Browse files
ref: fix num_comments typing in migrations again
1 parent 8df75b6 commit 424f31b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sentry/migrations/0739_backfill_group_info_to_group_attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def _bulk_retrieve_group_values(group_ids: list[int], Group: type[Group]) -> lis
7373
status=group_values["status"],
7474
substatus=group_values["substatus"],
7575
first_seen=group_values["first_seen"],
76-
num_comments=group_values["num_comments"],
76+
num_comments=group_values["num_comments"] or 0,
7777
priority=group_values["priority"],
7878
first_release_id=(group_values["first_release"] or None),
7979
)

0 commit comments

Comments
 (0)