chore: Use string IDs instead of integer ones
This commit is contained in:

committed by
Ömer Faruk Aydın

parent
86d5cceec7
commit
c6e2b94128
@@ -3,7 +3,7 @@ import flowType from '../types/flow';
|
||||
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
||||
|
||||
const createFlowResolver = async (req: RequestWithCurrentUser) => {
|
||||
const flow = await req.currentUser.$relatedQuery('flows').insert();
|
||||
const flow = await req.currentUser.$relatedQuery('flows').insert({});
|
||||
|
||||
await Step.query().insert({
|
||||
flowId: flow.id,
|
||||
|
Reference in New Issue
Block a user