Skip to content

Commit a2d8fd3

Browse files
committed
fix
1 parent 70ecaf8 commit a2d8fd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/main/java/io/iworkflow/controller/PersistenceWorkflowController.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import org.springframework.web.bind.annotation.RequestMapping;
1111

1212
@Controller
13-
@RequestMapping("/WorkflowOptions")
13+
@RequestMapping("/persistence")
1414
public class PersistenceWorkflowController {
1515

1616
private final Client client;
@@ -23,7 +23,7 @@ public PersistenceWorkflowController(
2323

2424
@GetMapping("/start")
2525
public ResponseEntity<String> start() {
26-
final String wfId = "basic-WorkflowOptions-test-id" + System.currentTimeMillis() / 1000;
26+
final String wfId = "basic-persistence-test-id" + System.currentTimeMillis() / 1000;
2727
final WorkflowOptions startOptions = WorkflowOptions.minimum(10);
2828
final String runId = client.startWorkflow(
2929
BasicWorkflow.class, BasicWorkflowS1.StateId, "start", wfId, startOptions);

0 commit comments

Comments
 (0)