Просмотр исходного кода

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 год назад
Родитель
Сommit
ce2110d4c4
1 измененных файлов с 3 добавлено и 3 удалено
  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",
             sample_rate=1.0,
             tags={
-                "respose_type": params["response_type"],
+                "response_type": params["response_type"],
             },
         )
 
@@ -307,7 +307,7 @@ class OAuthAuthorizeView(AuthLoginView):
             logger.info(
                 "approve.grant",
                 extra={
-                    "respose_type": params["response_type"],
+                    "response_type": params["response_type"],
                     "redirect_uri": params["redirect_uri"],
                     "scope": params["scopes"],
                 },
@@ -328,7 +328,7 @@ class OAuthAuthorizeView(AuthLoginView):
             logger.info(
                 "approve.token",
                 extra={
-                    "respose_type": params["response_type"],
+                    "response_type": params["response_type"],
                     "redirect_uri": params["redirect_uri"],
                     "scope": " ".join(token.get_scopes()),
                     "state": params["state"],