diff --git a/CDC_Backend/APIs/constants.py b/CDC_Backend/APIs/constants.py index 23224b7..7f97005 100644 --- a/CDC_Backend/APIs/constants.py +++ b/CDC_Backend/APIs/constants.py @@ -45,7 +45,7 @@ DEGREE_CHOICES = [ TOTAL_BRANCHES = 4 # Total No of Branches TOTAL_BATCHES = 5 # Total No of Batches -CDC_MAIl_ADDRESS = '200010030@iitdh.ac.in' +CDC_MAIl_ADDRESS = 'cdc@iitdh.ac.in' # To be Configured Properly CLIENT_ID = os.environ.get('GOOGLE_OAUTH_CLIENT_ID') # Google Login Client ID diff --git a/CDC_Backend/APIs/utils.py b/CDC_Backend/APIs/utils.py index bffbddc..6c93c5b 100644 --- a/CDC_Backend/APIs/utils.py +++ b/CDC_Backend/APIs/utils.py @@ -386,7 +386,7 @@ def send_opening_notifications(placement_id): "opening_type": 'Placement', "designation": placement.designation, "deadline": deadline_datetime.strftime("%A, %-d %B %Y, %-I:%M %p"), - "link": PLACEMENT_OPENING_URL.format(id=placement.id) + "link": PLACEMENT_OPENING_URL.format(id=placement.designation) } sendEmail(student_user.email, subject, data, NOTIFY_STUDENTS_OPENING_TEMPLATE) except Http404: