Skip to content

Commit

Permalink
Update clearEventHandler.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishk123 authored Oct 29, 2024
1 parent 3d7c680 commit c9c5692
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pubsub/handlers/clearEventHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,7 @@ export default class clearEventHandler extends BaseHandler {
async handle(message) {
const eventInvokerInfo = new EventInvocation();
let sdkType;
if (!message.params.event.includes('_')) {
sdkType = CONSTANTS.CORE.toLowerCase();
} else {
if (message.params && message.params.event && message.params.event.includes('_')) {
sdkType = message.params.event.split('_')[0].toLowerCase();
}
if (message.action != null && message.action != 'NA') {
Expand Down

0 comments on commit c9c5692

Please sign in to comment.