From 82c9f939338cb74af05e01a0cbbf1f01c8b21c02 Mon Sep 17 00:00:00 2001
From: "Janet L. Goldstein" <jgoldste@nrao.edu>
Date: Tue, 14 Sep 2021 11:32:56 -0600
Subject: [PATCH] WS-649: message name still wasn't right

---
 apps/cli/executables/pexable/carta_envoy/carta_envoy/connect.py | 2 +-
 .../executables/pexable/carta_envoy/carta_envoy/launchers.py    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/cli/executables/pexable/carta_envoy/carta_envoy/connect.py b/apps/cli/executables/pexable/carta_envoy/carta_envoy/connect.py
index f6d869448..c52c61d8c 100644
--- a/apps/cli/executables/pexable/carta_envoy/carta_envoy/connect.py
+++ b/apps/cli/executables/pexable/carta_envoy/carta_envoy/connect.py
@@ -309,7 +309,7 @@ class WorkflowConnect:
         self.settings = settings
         self.url = settings["workflow_url"]
 
-    def send_carta_url_to_rh(self, wrapper_url: str):
+    def send_carta_url_to_ws(self, wrapper_url: str):
         """
         Makes REST call to send message containing CARTA URL to workspaces system
         :return:
diff --git a/apps/cli/executables/pexable/carta_envoy/carta_envoy/launchers.py b/apps/cli/executables/pexable/carta_envoy/carta_envoy/launchers.py
index 8538b3ef7..20c19afea 100644
--- a/apps/cli/executables/pexable/carta_envoy/carta_envoy/launchers.py
+++ b/apps/cli/executables/pexable/carta_envoy/carta_envoy/launchers.py
@@ -228,7 +228,7 @@ class CartaLauncher:
         if self.settings["send_ready"] == "true":
             self.logger.info(f"User Email")
             self.notification.send_session_ready(wrapper_url)
-            self.workflow_connect.send_carta_url_to_rh(wrapper_url)
+            self.workflow_connect.send_carta_url_to_ws(wrapper_url)
         elif self.settings["send_ready"] == "false":
             self.logger.info(f"AAT Request Handler, with {wrapper_url}")
             self.archive_connect.send_carta_url_to_rh(wrapper_url)
-- 
GitLab