We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bff70c commit 174c628Copy full SHA for 174c628
1 file changed
src/resolvers/project.js
@@ -56,7 +56,7 @@ module.exports = {
56
image,
57
};
58
59
- const project = await factories.projectsFactory.create(options);
+ let project = await factories.projectsFactory.create(options);
60
const userData = await factories.usersFactory.findById(user.id);
61
62
await project.createNotificationsRule({
@@ -85,6 +85,8 @@ module.exports = {
85
},
86
});
87
88
+ project = await factories.projectsFactory.findById(project._id);
89
+
90
/**
91
* Create collections for storing events and setup indexes
92
*/
0 commit comments