Skip to content

Commit

Permalink
Resolves linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek committed Sep 28, 2024
1 parent 6f60bf8 commit d706f60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions graphql/resolvers.js
Original file line number Diff line number Diff line change
Expand Up @@ -348,8 +348,7 @@ const resolvers = {
await user.save();
return newGroup;
} catch (e) {

return new Error(e);
return new Error(e);
}
}
//if shortcode collides two times then return an error saying please try again.
Expand Down Expand Up @@ -635,7 +634,6 @@ const resolvers = {

return user;
},

},
...(process.env._HANDLER == null && {
Subscription: {
Expand Down
2 changes: 1 addition & 1 deletion parsing.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function parseUserObject(userObject) {
__v: userObject.__v,
};
} catch (error) {
console.log(error)
console.log(error);
}

return model;
Expand Down

0 comments on commit d706f60

Please sign in to comment.