Remove modifier from method

This commit is contained in:
Joao Victor 2022-10-24 10:35:46 -03:00
parent 4c6050521b
commit 33d08b2e2f

View File

@ -3,7 +3,6 @@ import { Meteor } from 'meteor/meteor';
import { check } from 'meteor/check';
import { extractCredentials } from '/imports/api/common/server/helpers';
import Logger from '/imports/startup/server/logger';
import pinPadModifier from '../modifiers/pinPad';
export default function pinPad(externalId, pinned) {
const REDIS_CONFIG = Meteor.settings.private.redis;
@ -23,8 +22,6 @@ export default function pinPad(externalId, pinned) {
pinned,
};
pinPadModifier(meetingId, externalId, pinned);
RedisPubSub.publishUserMessage(CHANNEL, EVENT_NAME, meetingId, requesterUserId, payload);
} catch (err) {
Logger.error(`Exception while invoking method pinPad ${err.stack}`);