Skip to content
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.

Commit

Permalink
Update NumbusterAPI.py
Browse files Browse the repository at this point in the history
  • Loading branch information
YeahNotSewerSide authored Feb 5, 2020
1 parent 009efe1 commit 3e5dab9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions NumbusterAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,10 @@ def v2_contacts_sync(self):
return data.json()

def request_sms_code(self,phonenumber:str):
code = self.v6_auth_get()['data']['code']
self.v6_auth_agreement_code(code)
code = self.v6_auth_get()['data']['code'] #Can be deleted
self.v6_auth_agreement_code(code) #Can be deleted
self.another_profiles_without_code(phonenumber)
self.another_profiles(phonenumber) #Can be deleted, but meh...
self.another_profiles(phonenumber) #Can be deleted

def send_sms_code(self,phonenumber:str,code:str):
self.access_token = api.another_profiles_confirm(phonenumber,code)['access_token']
Expand Down

0 comments on commit 3e5dab9

Please sign in to comment.