Skip to content

Commit

Permalink
fix: fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Behzad-rabiei committed Nov 7, 2024
1 parent 6ab028a commit 2eb7ba6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hivemind-adapter/src/bot-adapter/bot.adapter.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class BotAdapterService {
'metadata.id': interaction.guildId,
})
const data = this.adaptDataToHivemind(interaction, platform.community.toString())
this.rabbitMQService.publish(Queue.HIVEMIND, Event.HIVEMIND.QUESTION_RECEIVED, data)
this.rabbitMQService.publish(Queue.HIVEMIND, Event.HIVEMIND.QUESTION_RECEIVED, { ...data })
this.logger.info(data, `QUESTION_COMMAND_RECEIVED event is processed`)
}

Expand Down

0 comments on commit 2eb7ba6

Please sign in to comment.