chore: Update objectionjs version to 3
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
61c1f3a300
commit
70bb79ab6c
@@ -1,6 +1,7 @@
|
||||
import { GraphQLNonNull } from 'graphql';
|
||||
import stepType, { stepInputType } from '../types/step';
|
||||
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
||||
import StepEnumType from '../../types/step-enum-type';
|
||||
|
||||
type Params = {
|
||||
input: {
|
||||
@@ -41,7 +42,7 @@ const createStepResolver = async (
|
||||
const step = await flow.$relatedQuery('steps').insertAndFetch({
|
||||
key: input.key,
|
||||
appKey: input.appKey,
|
||||
type: 'action',
|
||||
type: StepEnumType.Action,
|
||||
position: previousStep.position + 1,
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user