File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export default {
55 /**
66 * Fetch releases by projectId
77 * @param {ResolverObj } _ - Parent object, not used
8- * @param {ResolverArgs } args - Query arguments containing required projectId
8+ * @param {ResolverArgs } args - Query arguments containing required projectId
99 * @param {ContextFactories } context - Global GraphQL context with factories
1010 * @returns {Promise<Release[]> }
1111 */
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ export default {
147147
148148 try {
149149 const newPassword = await UserModel . generatePassword ( ) ;
150-
150+ console . log ( newPassword ) ;
151151 await user . changePassword ( newPassword ) ;
152152
153153 await emailNotification ( {
@@ -225,7 +225,7 @@ export default {
225225 { user, factories } : ResolverContextWithUser
226226 ) : Promise < boolean > {
227227 const foundUser = await factories . usersFactory . findById ( user . id ) ;
228-
228+ console . log ( newPassword ) ;
229229 if ( ! foundUser ) {
230230 throw new ApolloError ( 'There is no user with such id' ) ;
231231 }
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { GraphQLField } from 'graphql';
44import ProjectsFactory from '../models/projectsFactory' ;
55import PlansFactory from '../models/plansFactory' ;
66import BusinessOperationsFactory from '../models/businessOperationsFactory' ;
7- import ReleasesFactory from " ../models/releaseFactory" ;
7+ import ReleasesFactory from ' ../models/releaseFactory' ;
88
99/**
1010 * Resolver's Context argument
You can’t perform that action at this time.
0 commit comments