We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc363f6 commit e9f387bCopy full SHA for e9f387b
src/routes/projects/create.js
@@ -149,10 +149,10 @@ module.exports = [
149
// add an empty attachments array
150
newProject.attachments = [];
151
req.log.debug('Sending event to RabbitMQ bus for project %d', newProject.id);
152
- // req.app.services.pubsub.publish(EVENT.ROUTING_KEY.PROJECT_DRAFT_CREATED,
153
- // newProject,
154
- // { correlationId: req.id },
155
- // );
+ req.app.services.pubsub.publish(EVENT.ROUTING_KEY.PROJECT_DRAFT_CREATED,
+ newProject,
+ { correlationId: req.id },
+ );
156
req.log.debug('Sending event to Kafka bus for project %d', newProject.id);
157
// emit event
158
req.app.emit(EVENT.ROUTING_KEY.PROJECT_DRAFT_CREATED, { req, project: newProject });
0 commit comments