Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Version 1.2.2 #98

Merged
merged 16 commits into from
Jun 22, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix name of challenge event
  • Loading branch information
52cs committed Jun 3, 2022
commit f254181f0bb1a7b31b00f6100d1fab3da64c0662
2 changes: 1 addition & 1 deletion services/ChallengeService.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ async function process(event) {
}

process.schema = Joi.object().keys({
event: Joi.string().valid('challengeUUIDTags.update').required(),
event: Joi.string().valid('challengeTags.update').required(),
data: Joi.object().keys({
challengeUUIDsList: Joi.array().items(
Joi.alternatives().try(Joi.string(), Joi.array().items(Joi.string()))
Expand Down
2 changes: 1 addition & 1 deletion utils/kafka-consumer.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function messageHandler(messageSet) {
.process(event)
.catch(logger.error);
}
if (event && _.includes(['challengeUUIDTags.update']
if (event && _.includes(['challengeTags.update']
, event.event)) {
ChallengeService
.process(event)
Expand Down