refactor: Rename createActionStepAfterStepId as createAfterStep for flow

This commit is contained in:
Faruk AYDIN
2024-11-01 14:24:07 +01:00
parent 2c4b13e4b5
commit c641e8729b
3 changed files with 4 additions and 4 deletions

View File

@@ -176,7 +176,7 @@ class Flow extends Base {
return await Promise.all(stepPositionUpdates);
}
async createActionStepAfterStepId(previousStepId) {
async createStepAfter(previousStepId) {
const previousStep = await this.getStepById(previousStepId);
const nextSteps = await this.getStepsAfterPosition(previousStep.position);