Skip to content

Commit 49cd421

Browse files
committed
Remove unnecessary console.log. Fix spaces
1 parent d8eaa40 commit 49cd421

File tree

2 files changed

+15
-16
lines changed

2 files changed

+15
-16
lines changed

packages/graphql/src/schema/Types/Discussion/Queries/GetDiscussions.query.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ import { arg, list, queryField } from 'nexus';
33

44
export const GetDiscussionsQuery = queryField('discussions', {
55
type: list('Discussion'),
6-
args: {
7-
where: arg({
8-
type: 'DiscussionWhereInput'
9-
}),
10-
paginate: arg({
11-
type: 'PaginateInput'
12-
})
13-
},
14-
resolve: (root, args) => {
15-
return prisma.discussion.findMany({
16-
where: args.where as any,
17-
...args.paginate
18-
});
19-
}
20-
});
6+
args: {
7+
where: arg({
8+
type: 'DiscussionWhereInput'
9+
}),
10+
paginate: arg({
11+
type: 'PaginateInput'
12+
})
13+
},
14+
resolve: (root, args) => {
15+
return prisma.discussion.findMany({
16+
where: args.where as any,
17+
...args.paginate
18+
});
19+
}
20+
});

packages/web/src/providers/ApolloProvider.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { useAuthContext } from '../context';
66

77
export const ApolloProvider: React.FC<PropsWithChildren<any>> = ({ children, ...rest }) => {
88
const authContext = useAuthContext();
9-
console.log('authContext',authContext)
109
const apollo = useApollo('http://localhost:4000/graphql' || '', authContext.token || '');
1110

1211
return (

0 commit comments

Comments
 (0)