Skip to content

Commit 391c1d3

Browse files
authored
Fixing typo in comment (#3164)
1 parent 9839b1e commit 391c1d3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.generator/src/generator/templates/delegated_auth.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def parse_delegated_token_response(response_data: str, org_uuid: str, delegated_
130130
if not token:
131131
raise ApiValueError(f"Failed to get token from response: {token_response}")
132132

133-
# get expiration time from the response, defualt to 15 min
133+
# get expiration time from the response, default to 15 min
134134
expiration_time = datetime.now() + timedelta(minutes=15)
135135
expires_str = attributes.get("expires")
136136
if expires_str:

src/datadog_api_client/delegated_auth.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def parse_delegated_token_response(
128128
if not token:
129129
raise ApiValueError(f"Failed to get token from response: {token_response}")
130130

131-
# get expiration time from the response, defualt to 15 min
131+
# get expiration time from the response, default to 15 min
132132
expiration_time = datetime.now() + timedelta(minutes=15)
133133
expires_str = attributes.get("expires")
134134
if expires_str:

0 commit comments

Comments
 (0)