Skip to content

Commit

Permalink
Fix qstash send-email endpoint config
Browse files Browse the repository at this point in the history
  • Loading branch information
pratyush1712 committed May 11, 2024
1 parent 4ce4c40 commit 41c96ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CleverHug-Backend/endpoints/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def schedule_time():
to_email = "ps2245@cornell.edu"

headers = generate_auth_headers(cron)
destination = f"{os.environ.get('HOSTED_URL')}/scheduler/send-email/"
destination = f"{os.environ.get('HOSTED_URL')}/scheduler/send-email"
body = {"subject": subject, "message": message, "to_email": to_email, "cron": cron}
qstash_url = "https://qstash.upstash.io/v2/schedules/"

Expand Down

0 comments on commit 41c96ff

Please sign in to comment.