Skip to content

Commit 08701c7

Browse files
author
Vikas Agarwal
committed
Lower cased event categories
1 parent 7da5871 commit 08701c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function startKafkaConsumer(handlers) {
9595
if (eventType === BUS_API_EVENT.EMAIL.MENTIONED_IN_POST) {
9696
cc.push(config.MENTION_EMAIL);
9797
}
98-
const categories = [`${config.ENV}:${eventType}`];
98+
const categories = [`${config.ENV}:${eventType}`.toLowerCase()];
9999

100100
// get jwt token then encode it with base64
101101
const body = {

0 commit comments

Comments
 (0)