apps/meteor/server/services/nps/notification.ts
Function getBannerForAdmins
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const getBannerForAdmins = (expireAt: Date): Omit<IBanner, '_id'> => {
const lng = settings.get<string>('Language') || 'en';
return {
platform: [BannerPlatform.Web],