Skip to content

Commit

Permalink
Update setup_api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RaresCode authored Sep 24, 2024
1 parent db82077 commit a7875cd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sites/setup_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ def __init__(self, company_name, data_list):
"""
self.company_name = company_name
self.data_list = data_list
# self.email = os.environ.get('API_KEY')
self.email = "irimusrares7@gmail.com"
self.email = os.environ.get('API_KEY')

def __call__(self):
"""
Expand Down Expand Up @@ -52,5 +51,4 @@ def add_jobs(self):
requests.request("POST", "https://api.laurentiumarian.ro/jobs/add/", headers=post_header, data=json.dumps(self.data_list))
print("ADD JOB REQUEST STATUS: ")
print(requests.request("POST", "https://api.laurentiumarian.ro/jobs/add/", headers=post_header, data=json.dumps(self.data_list)))
time.sleep(5)

0 comments on commit a7875cd

Please sign in to comment.