Skip to content

Commit

Permalink
Fix README errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hemantapkh committed Oct 29, 2021
1 parent 6cbcdd7 commit 354d77f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ This is the unofficial python API wrapper of Ncell App.
# This function will be executed after refreshing the token
>>>def storeToken(token):
... with open('token','w') as f_in:
... f_in.write(token)
... f_in.write(token)
# Creating an object of ncell which contains 'afterRefresh' and 'args' arguments.
# See the documentation for more information.
Expand Down
2 changes: 1 addition & 1 deletion docs/examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Manually refreshing the token and storing the refreshed token (Not recommended)
# This function will be executed after refreshing the token
>>>def storeToken(token):
... with open('token','w') as f_in:
... f_in.write(token)
... f_in.write(token)
# Creating an object of ncell which contains 'afterRefresh' and 'args' arguments.
# See the documentation for more information.
Expand Down
2 changes: 1 addition & 1 deletion ncellapp/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def validateOtp(self, otp):
>>> reg.validateOtp('123456')
<Response [OTP1000]>
>>> reg.token
'eyJtc2lzZx4iOiI5ODE0MDY2NTE4IiriYWNjZXNzVG9rZW4kOiJle...'
'eyJt...'
"""

url = self.baseUrl + '/user/otp/validate'
Expand Down

0 comments on commit 354d77f

Please sign in to comment.