Skip to content

Commit 5d79835

Browse files
authored
Merge pull request #231 from zhangwg4apollo/patch-1
Fix: Update field key from `'expires'` to `'expires_in'` in `AccessTokenResponse`
2 parents 30f72ea + 87ba0c7 commit 5d79835

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ad_api/auth/access_token_response.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ class AccessTokenResponse:
22
def __init__(self, **kwargs):
33
self.access_token = kwargs.get('access_token')
44
self.refresh_token = kwargs.get('refresh_token')
5-
self.expires_in = kwargs.get('expires')
5+
self.expires_in = kwargs.get('expires_in')
66
self.token_type = kwargs.get('token_type')

0 commit comments

Comments
 (0)