Skip to content

Commit

Permalink
ref: fix types in org provisioning (#72896)
Browse files Browse the repository at this point in the history
<!-- Describe your PR here. -->
  • Loading branch information
asottile-sentry authored Jun 18, 2024
1 parent 0d13bad commit 748bf2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sentry/services/organization/provisioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def handle_organization_provisioning_outbox_payload(
)
return

org_slug_reservation = org_slug_reservation_qs.first()
org_slug_reservation = org_slug_reservation_qs.get()

able_to_provision = region_organization_provisioning_rpc_service.create_organization_in_region(
organization_id=organization_id,
Expand Down Expand Up @@ -257,6 +257,7 @@ def handle_possible_organization_slug_swap(*, region_name: str, org_slug_reserva
return

org_slug_reservation = org_slug_reservation_qs.first()
assert org_slug_reservation is not None

from sentry.hybridcloud.rpc_services.control_organization_provisioning import (
serialize_slug_reservation,
Expand Down

0 comments on commit 748bf2e

Please sign in to comment.