Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref: fix passing slug=None to HC slug check (#73121)
this currently produces an INFO log on every logged out request ``` 16:38:59 server | 16:38:59 [INFO] sentry.services.hybrid_cloud: Organization by slug [None] not found ``` this fixes these two type errors as well: ``` src/sentry/web/frontend/auth_login.py:509: error: Argument "slug" to "check_organization_by_slug" of "OrganizationService" has incompatible type "str | None"; expected "str" [arg-type] src/sentry/web/frontend/auth_login.py:568: error: Argument "slug" to "check_organization_by_slug" of "OrganizationService" has incompatible type "str | None"; expected "str" [arg-type] ``` <!-- Describe your PR here. -->
- Loading branch information