Skip to content
Snippets Groups Projects
Commit 39cc0edd authored by Nathan Bockisch's avatar Nathan Bockisch
Browse files

Forgot self

parent e483a63b
No related branches found
No related tags found
1 merge request!1458WS-1977: Make sure workflow requests QA announced from the UI have user_email field populated
Pipeline #11795 failed
......@@ -511,7 +511,7 @@ class WorkflowRequestRestService:
body=f"SUCCESS for identifier '{identifier}': Sent '{msg_type}' to AAT for this workflow's SDM",
)
def get_contacts(requested_workflow) -> str:
def get_contacts(self, requested_workflow) -> str:
"""
Method that retrieves the PI/CoI email information for a given workflow
request
......@@ -575,7 +575,7 @@ class WorkflowRequestRestService:
# Populate the contact information for the workflow request to ensure
# the QA announcement doesn't fail when initiated via the web interface
user_email = get_contacts(requested_workflow)
user_email = self.get_contacts(requested_workflow)
if not user_email:
logger.info(f"WARNING: Could not retrieve user email for workflow request ID {request_id}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment