app/src/services/alertUrlService.js
Function generate
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static generate(subscription, layer, begin, end) {
const diffInDays = moment(begin).diff(moment(end), 'days');
const queryForUrl = {
lang: subscription.language || 'en',