MohanadAfiffy commited on
Commit
c575aba
·
verified ·
1 Parent(s): 30f26dc

Update pages/pages_Blogs.py

Browse files
Files changed (1) hide show
  1. pages/pages_Blogs.py +1 -1
pages/pages_Blogs.py CHANGED
@@ -29,7 +29,7 @@ def main():
29
  "email_receiver": email_address
30
  }
31
 
32
- endpoint = os.getenv("backend")
33
  # Sending the POST request to FastAPI
34
  response = requests.post(endpoint, json=data_to_send)
35
 
 
29
  "email_receiver": email_address
30
  }
31
 
32
+ endpoint = os.getenv("blog_lead_endpoint")
33
  # Sending the POST request to FastAPI
34
  response = requests.post(endpoint, json=data_to_send)
35