Skip to content

Commit

Permalink
fix: Typing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias committed Apr 17, 2024
1 parent 6d3382a commit 0ab0122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/tasks/email.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ async def send_batch_export_run_failure(
memberships = OrganizationMembership.objects.select_related("user", "organization").filter(
organization_id=team.organization_id
)
all_memberships = await sync_to_async(list)(memberships)
all_memberships: list[OrganizationMembership] = await sync_to_async(list)(memberships) # type: ignore
for membership in all_memberships:
has_notification_settings_enabled = await sync_to_async(membership.user.notification_settings.get)(
"batch_export_run_failure", True
Expand Down

0 comments on commit 0ab0122

Please sign in to comment.