From d59bf6e01ebe8ef88e1a91920baf82fc2e60b8a8 Mon Sep 17 00:00:00 2001 From: VineetBala-AOT <90332175+VineetBala-AOT@users.noreply.github.com> Date: Tue, 15 Aug 2023 15:16:08 -0700 Subject: [PATCH] adding slug variables to cron config (#2024) --- 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