apps/meteor/app/lib/server/startup/rateLimiter.js
Function check
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
RateLimiter.prototype.check = function (input) {
// ==== BEGIN OVERRIDE ====
const session = Meteor.server.sessions.get(input.connectionId);
input.broadcastAuth = (session && session.connectionHandle && session.connectionHandle.broadcastAuth) === true;
// ==== END OVERRIDE ====