fix: correct params type in update-flow mutation

This commit is contained in:
Ali BARIN
2021-12-21 09:39:40 +01:00
parent ede68b2af2
commit 8b05489e40

View File

@@ -5,7 +5,7 @@ import RequestWithCurrentUser from '../../types/express/request-with-current-use
type Params = {
id: string,
data: object
name: string
}
const updateFlowResolver = async (params: Params, req: RequestWithCurrentUser) => {
let flow = await Flow.query().findOne({