Merge pull request #4651 from overleaf/jel-remove-underscore-emails

Use lodash instead of underscore in emails

GitOrigin-RevId: b3e0f6f113b7901d57492428f4caee9ba04063ca
This commit is contained in:
June Kelly 2021-08-11 09:50:27 +01:00 committed by Copybot
parent f181328db0
commit 01b9be5ecd
5 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
const _ = require('underscore') const _ = require('lodash')
module.exports = _.template(`\ module.exports = _.template(`\
<table class="row" style="border-collapse: collapse; border-spacing: 0; display: table; padding: 0; position: relative; text-align: left; vertical-align: top; width: 100%;"> <table class="row" style="border-collapse: collapse; border-spacing: 0; display: table; padding: 0; position: relative; text-align: left; vertical-align: top; width: 100%;">

View file

@ -1,4 +1,4 @@
const _ = require('underscore') const _ = require('lodash')
module.exports = _.template(`\ module.exports = _.template(`\
<table class="row" style="border-collapse: collapse; border-spacing: 0; display: table; padding: 0; position: relative; text-align: left; vertical-align: top; width: 100%;"> <table class="row" style="border-collapse: collapse; border-spacing: 0; display: table; padding: 0; position: relative; text-align: left; vertical-align: top; width: 100%;">

View file

@ -1,4 +1,4 @@
const _ = require('underscore') const _ = require('lodash')
const settings = require('@overleaf/settings') const settings = require('@overleaf/settings')
const moment = require('moment') const moment = require('moment')
const EmailMessageHelper = require('./EmailMessageHelper') const EmailMessageHelper = require('./EmailMessageHelper')

View file

@ -7,7 +7,7 @@ const sesTransport = require('nodemailer-ses-transport')
const mandrillTransport = require('nodemailer-mandrill-transport') const mandrillTransport = require('nodemailer-mandrill-transport')
const OError = require('@overleaf/o-error') const OError = require('@overleaf/o-error')
const RateLimiter = require('../../infrastructure/RateLimiter') const RateLimiter = require('../../infrastructure/RateLimiter')
const _ = require('underscore') const _ = require('lodash')
const EMAIL_SETTINGS = Settings.email || {} const EMAIL_SETTINGS = Settings.email || {}

View file

@ -1,4 +1,4 @@
const _ = require('underscore') const _ = require('lodash')
const settings = require('@overleaf/settings') const settings = require('@overleaf/settings')
module.exports = _.template(`\ module.exports = _.template(`\