From 3a792a8d08f923d0fe2b14e15524ba5f732ca36e Mon Sep 17 00:00:00 2001 From: Tom Wheeler Date: Fri, 21 Feb 2025 15:42:29 -0600 Subject: [PATCH] Remove obsolete comment --- .../org/mongodb/banking/ui/controller/BankListController.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bank-services/src/main/java/org/mongodb/banking/ui/controller/BankListController.java b/bank-services/src/main/java/org/mongodb/banking/ui/controller/BankListController.java index bbe3fce..377ec82 100644 --- a/bank-services/src/main/java/org/mongodb/banking/ui/controller/BankListController.java +++ b/bank-services/src/main/java/org/mongodb/banking/ui/controller/BankListController.java @@ -114,9 +114,7 @@ public void approvePendingTransfer(String workflowId, String managerName) { // a Workflow Execution involves sending a request to the Temporal Service, // much like happens when you start the Workflow Execution. We must specify the // Workflow ID corresponding to the Workflow Execution we want to Signal (i.e., - // the one that was launched in the Starter class). I hardcoded that Workflow ID - // here since I don't have access to the TransactionDetails instance used by the - // Starter to create the Workflow ID. + // the one that was launched in the Starter class). WorkflowServiceStubs service = WorkflowServiceStubs.newLocalServiceStubs(); WorkflowClient client = WorkflowClient.newInstance(service); client.newUntypedWorkflowStub(workflowId).signal("approve", managerName);