anon-iclr-submission/benchname-bug-localization huggingface dataset:
Repository: webkom/lego
Issue: Broken link on weekly mails

The link used to unsubscribe from the mail is broken, because `frontend_url` is undefined. Probably due to the weekly mails being handled differently than all other notifications.

Changed files:
lego/apps/email/tasks.py

diff --git a/lego/apps/email/tasks.py b/lego/apps/email/tasks.py
index a9b946bc..3270a3e2 100644
--- a/lego/apps/email/tasks.py
+++ b/lego/apps/email/tasks.py
@@ -93,6 +93,7 @@ def create_weekly_mail(user):
             if todays_weekly is None
             else todays_weekly.get_absolute_url(),
             "joblistings": joblistings,
+            "frontend_url": settings.FRONTEND_URL,
         },
     )
     if events or joblistings or todays_weekly: