fix: correct params type in update-flow mutation
This commit is contained in:
@@ -5,7 +5,7 @@ import RequestWithCurrentUser from '../../types/express/request-with-current-use
|
|||||||
|
|
||||||
type Params = {
|
type Params = {
|
||||||
id: string,
|
id: string,
|
||||||
data: object
|
name: string
|
||||||
}
|
}
|
||||||
const updateFlowResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
const updateFlowResolver = async (params: Params, req: RequestWithCurrentUser) => {
|
||||||
let flow = await Flow.query().findOne({
|
let flow = await Flow.query().findOne({
|
||||||
|
Reference in New Issue
Block a user