chore: suit eslint rules
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { GraphQLList, GraphQLString } from 'graphql';
|
||||
import { GraphQLList } from 'graphql';
|
||||
import Flow from '../../models/flow';
|
||||
import RequestWithCurrentUser from '../../types/express/request-with-current-user';
|
||||
import flowType from '../types/flow';
|
||||
|
||||
const getFlowsResolver = async (req: RequestWithCurrentUser) => {
|
||||
const getFlowsResolver = async (req: RequestWithCurrentUser): Promise<any[]> => {
|
||||
const flows = await Flow.query()
|
||||
.withGraphJoined('[steps.[connection]]')
|
||||
.where({'flows.user_id': req.currentUser.id});
|
||||
|
Reference in New Issue
Block a user