Browse Source

nit(typo): respose_type in oauth_authorize (#66521)

<!-- Describe your PR here. -->

<!--

  Sentry employees and contractors can delete or ignore the following.

-->

### Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated
in the State of Delaware in 2015 as Functional Software, Inc. and is
gonna need some rights from me in order to utilize my contributions in
this here PR. So here's the deal: I retain all rights, title and
interest in and to my contributions, and by keeping this boilerplate
intact I confirm that Sentry can use, modify, copy, and redistribute my
contributions, under Sentry's choice of terms.
Alexander Tarasov 1 year ago
parent
commit
ce2110d4c4
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/sentry/web/frontend/oauth_authorize.py

+ 3 - 3
src/sentry/web/frontend/oauth_authorize.py

@@ -293,7 +293,7 @@ class OAuthAuthorizeView(AuthLoginView):
             "oauth_authorize.get.approve",
             "oauth_authorize.get.approve",
             sample_rate=1.0,
             sample_rate=1.0,
             tags={
             tags={
-                "respose_type": params["response_type"],
+                "response_type": params["response_type"],
             },
             },
         )
         )
 
 
@@ -307,7 +307,7 @@ class OAuthAuthorizeView(AuthLoginView):
             logger.info(
             logger.info(
                 "approve.grant",
                 "approve.grant",
                 extra={
                 extra={
-                    "respose_type": params["response_type"],
+                    "response_type": params["response_type"],
                     "redirect_uri": params["redirect_uri"],
                     "redirect_uri": params["redirect_uri"],
                     "scope": params["scopes"],
                     "scope": params["scopes"],
                 },
                 },
@@ -328,7 +328,7 @@ class OAuthAuthorizeView(AuthLoginView):
             logger.info(
             logger.info(
                 "approve.token",
                 "approve.token",
                 extra={
                 extra={
-                    "respose_type": params["response_type"],
+                    "response_type": params["response_type"],
                     "redirect_uri": params["redirect_uri"],
                     "redirect_uri": params["redirect_uri"],
                     "scope": " ".join(token.get_scopes()),
                     "scope": " ".join(token.get_scopes()),
                     "state": params["state"],
                     "state": params["state"],