From 155c4b832281348c16be1f4ef667e6e23dbf1bd8 Mon Sep 17 00:00:00 2001 From: Vijay Raghavan Aravamudhan Date: Fri, 27 Aug 2021 18:13:24 +0530 Subject: chore: normalized all recipes to ensure compatibility with es6 (#639) - Removed some calls to set badge with '0' all the time. - Removed all 'sourceMaps' since they are all outdated atm. --- recipes/yahoo-mail/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'recipes/yahoo-mail/index.js') diff --git a/recipes/yahoo-mail/index.js b/recipes/yahoo-mail/index.js index b52af44..b47bdb4 100644 --- a/recipes/yahoo-mail/index.js +++ b/recipes/yahoo-mail/index.js @@ -1,8 +1,9 @@ -module.exports = (Franz) => class YahooMail extends Franz { +module.exports = (Ferdi) => class YahooMail extends Ferdi { modifyRequestHeaders() { return [ { headers: { + // TODO: Rather than hardcoding like this, the user should set it for their individual installation of Ferdi 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36', }, requestFilters: { -- cgit v1.2.3-70-g09d2