File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
endpoints/getting-started Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ def echo():
53
53
54
54
# [START endpoints_auth_info_backend]
55
55
def auth_info ():
56
- """Retrieves the authenication information from Google Cloud Endpoints."""
56
+ """Retrieves the authentication information from Google Cloud Endpoints."""
57
57
encoded_info = request .headers .get ("X-Endpoint-API-UserInfo" , None )
58
58
if encoded_info :
59
59
info_json = _base64_decode (encoded_info )
@@ -89,7 +89,7 @@ def auth_info_firebase():
89
89
@app .errorhandler (http_client .INTERNAL_SERVER_ERROR )
90
90
def unexpected_error (e ):
91
91
"""Handle exceptions by returning swagger-compliant json."""
92
- logging .exception ("An error occured while processing the request." )
92
+ logging .exception ("An error occurred while processing the request." )
93
93
response = jsonify (
94
94
{"code" : http_client .INTERNAL_SERVER_ERROR , "message" : f"Exception: { e } " }
95
95
)
You can’t perform that action at this time.
0 commit comments