@@ -16,37 +16,37 @@ export class PostsResolver {
1616
1717 @Query ( 'posts' )
1818 async getPosts ( @Args ( ) args , @Info ( ) info ) : Promise < Post [ ] > {
19- return await this . prisma . query . posts ( args , info ) ;
19+ return this . prisma . query . posts ( args , info ) ;
2020 }
2121
2222 @Query ( 'post' )
2323 async getPost ( @Args ( ) args , @Info ( ) info ) : Promise < Post > {
24- return await this . prisma . query . post ( args , info ) ;
24+ return this . prisma . query . post ( args , info ) ;
2525 }
2626
2727 @Mutation ( 'createPost' )
2828 async createPost ( @Args ( ) args , @Info ( ) info ) : Promise < Post > {
29- return await this . prisma . mutation . createPost ( args , info ) ;
29+ return this . prisma . mutation . createPost ( args , info ) ;
3030 }
3131
3232 @Mutation ( 'updatePost' )
3333 async updatePost ( @Args ( ) args , @Info ( ) info ) : Promise < Post > {
34- return await this . prisma . mutation . updatePost ( args , info ) ;
34+ return this . prisma . mutation . updatePost ( args , info ) ;
3535 }
3636
3737 @Mutation ( 'updateManyPosts' )
3838 async updateManyPosts ( @Args ( ) args , @Info ( ) info ) : Promise < BatchPayload > {
39- return await this . prisma . mutation . updateManyPosts ( args , info ) ;
39+ return this . prisma . mutation . updateManyPosts ( args , info ) ;
4040 }
4141
4242 @Mutation ( 'deletePost' )
4343 async deletePost ( @Args ( ) args , @Info ( ) info ) : Promise < Post > {
44- return await this . prisma . mutation . deletePost ( args , info ) ;
44+ return this . prisma . mutation . deletePost ( args , info ) ;
4545 }
4646
4747 @Mutation ( 'deleteManyPosts' )
4848 async deleteManyPosts ( @Args ( ) args , @Info ( ) info ) : Promise < BatchPayload > {
49- return await this . prisma . mutation . deleteManyPosts ( args , info ) ;
49+ return this . prisma . mutation . deleteManyPosts ( args , info ) ;
5050 }
5151
5252 @Subscription ( 'post' )
0 commit comments