Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

There are typos in a comment and a log message #11294 #11332

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 17, 2024
Merged
4 changes: 2 additions & 2 deletions 4 endpoints/getting-started/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def echo():

# [START endpoints_auth_info_backend]
def auth_info():
"""Retrieves the authenication information from Google Cloud Endpoints."""
"""Retrieves the authentication information from Google Cloud Endpoints."""
encoded_info = request.headers.get("X-Endpoint-API-UserInfo", None)
if encoded_info:
info_json = _base64_decode(encoded_info)
Expand Down Expand Up @@ -89,7 +89,7 @@ def auth_info_firebase():
@app.errorhandler(http_client.INTERNAL_SERVER_ERROR)
def unexpected_error(e):
"""Handle exceptions by returning swagger-compliant json."""
logging.exception("An error occured while processing the request.")
logging.exception("An error occurred while processing the request.")
response = jsonify(
{"code": http_client.INTERNAL_SERVER_ERROR, "message": f"Exception: {e}"}
)
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.