Skip to content

Commit

Permalink
Merge pull request #40 from korvin101/master
Browse files Browse the repository at this point in the history
Fix wrong api endpoint in WeChatOAuth. Close #39
  • Loading branch information
messense committed Apr 16, 2015
2 parents d14976e + a238a1d commit 2b32e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wechatpy/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def check_access_token(self, openid=None, access_token=None):
openid = openid or self.open_id
access_token = access_token or self.access_token
res = self._get(
'sns/oauth2/auth',
'sns/auth',
params={
'access_token': access_token,
'openid': openid
Expand Down

0 comments on commit 2b32e38

Please sign in to comment.