Skip to content

Commit

Permalink
Event cert generator will avoid generating karma points due to ets
Browse files Browse the repository at this point in the history
  • Loading branch information
karthik-tarento committed Oct 24, 2024
1 parent 4ba2ce1 commit 7f4bd4a
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,10 @@ class CertificateGeneratorFunction (config: EventCertificateGeneratorConfig, ht
if (config.enableRcCertificate) generateCertificateUsingRC(event, context)(metrics)
else generateCertificate(event, context)(metrics)
}
if (event.eventType.equalsIgnoreCase("offline")) {
emitKarmaPoints(event, context)
}
// We can't generate karma points event as it is depends on ets value... which should be event cert completed on.
//if (event.eventType.equalsIgnoreCase("offline")) {
// emitKarmaPoints(event, context)
//}
emitDashboardEvent(event, context)
} else {
metrics.incCounter(config.skippedEventCount)
Expand Down

0 comments on commit 7f4bd4a

Please sign in to comment.