Skip to content

Commit

Permalink
add logging if decision request is incoming
Browse files Browse the repository at this point in the history
  • Loading branch information
rainu committed Apr 20, 2020
1 parent 989e23a commit a80e745
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const mqttClient = mqtt.newMQTTClient(cfg.mqtt.broker, cfg.mqtt.topic.in, cfg.mq
const userServiceClient = userService.newUserService(cfg.client.user.base)

mqttClient.start((correlationId, clientId, userId) => {
log.info("Start decision", {correlationId, clientId, userId})
mqttClient.sendInfoStatus(202, 'Start decision.', cfg.buildStatusTopic(clientId, correlationId))

userServiceClient.getUserChannels(clientId, userId, correlationId)
Expand Down

0 comments on commit a80e745

Please sign in to comment.