From 99d455d4e893ef77cc0a2fd744c57f4ac791889b Mon Sep 17 00:00:00 2001 From: VineetBala-AOT Date: Tue, 15 Aug 2023 15:11:53 -0700 Subject: [PATCH] adding slug variables to cron config --- met-cron/config.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/met-cron/config.py b/met-cron/config.py index 088cb3cfe..564a3334d 100644 --- a/met-cron/config.py +++ b/met-cron/config.py @@ -126,8 +126,12 @@ class _Config(): # pylint: disable=too-few-public-methods # front end endpoints SITE_URL = os.getenv('SITE_URL') - ENGAGEMENT_DASHBOARD_PATH = os.getenv('ENGAGEMENT_DASHBOARD_PATH', '/engagements/{engagement_id}/dashboard') + # needed for close out emails for met api + ENGAGEMENT_DASHBOARD_PATH = os.getenv('ENGAGEMENT_DASHBOARD_PATH', '/engagements/{engagement_id}/comments') + ENGAGEMENT_DASHBOARD_PATH_SLUG = os.getenv('ENGAGEMENT_DASHBOARD_PATH_SLUG', '/{slug}/comments') + # needed for publish emails for met api ENGAGEMENT_VIEW_PATH = os.getenv('ENGAGEMENT_VIEW_PATH', '/engagements/{engagement_id}/view') + ENGAGEMENT_VIEW_PATH_SLUG = os.getenv('ENGAGEMENT_VIEW_PATH_SLUG', '/{slug}') # The GC notify email variables # Publish Email Service