refactor: Use static IncompleteStepsError from flow before update hook

This commit is contained in:
Faruk AYDIN
2024-10-30 14:42:30 +01:00
parent 96a6cbfb95
commit 4f076ec3e3

View File

@@ -376,7 +376,7 @@ class Flow extends Base {
});
if (incompleteStep) {
throw this.IncompleteStepsError;
throw Flow.IncompleteStepsError;
}
const allSteps = await oldFlow.$relatedQuery('steps');