Merge pull request #1735 from automatisch/delete-step-fix

fix: Use correct model file to delete step
This commit is contained in:
Ömer Faruk Aydın
2024-03-15 16:42:06 +01:00
committed by GitHub

View File

@@ -1,4 +1,4 @@
import Step from '../../models/flow.js'; import Step from '../../models/step.js';
const deleteStep = async (_parent, params, context) => { const deleteStep = async (_parent, params, context) => {
const conditions = context.currentUser.can('update', 'Flow'); const conditions = context.currentUser.can('update', 'Flow');