Skip to content

Commit

Permalink
Debugging validator token
Browse files Browse the repository at this point in the history
  • Loading branch information
RaresCode committed Apr 22, 2024
1 parent 16003ed commit 2dea12b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sites/setup_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,8 @@ def get_token(self):
post_header = {
'Content-Type': 'application/json'
}

print(payload)
self.access_token = requests.request("POST", "https://api.peviitor.ro/v5/get_token/", headers=post_header, data=payload).json()['access']
print(self.access_token)


def add_jobs(self):
Expand Down

0 comments on commit 2dea12b

Please sign in to comment.