refactor: Use static IncompleteStepsError from flow before update hook
This commit is contained in:
@@ -376,7 +376,7 @@ class Flow extends Base {
|
||||
});
|
||||
|
||||
if (incompleteStep) {
|
||||
throw this.IncompleteStepsError;
|
||||
throw Flow.IncompleteStepsError;
|
||||
}
|
||||
|
||||
const allSteps = await oldFlow.$relatedQuery('steps');
|
||||
|
Reference in New Issue
Block a user