@@ -38,7 +38,7 @@ const patchBlessed = () => {
3838
3939patchBlessed();
4040
41- exports.historyCountryTracker = (req, res, n, c, tC, d, tD, r, a, cl, cPOM, u, h, chartType, countryInfo, chartSize = 'md ') => {
41+ exports.historyCountryTracker = (req, res, n, c, tC, d, tD, r, a, cl, cPOM, u, h, chartType, countryInfo, chartSize = 'sm ') => {
4242 const name = n, cases = c, todayCases = tC,
4343 deaths = d, todayDeaths = tD, recovered = r,
4444 active = a, critical = cl, casesPerOneMillion = cPOM,
@@ -53,7 +53,7 @@ exports.historyCountryTracker = (req, res, n, c, tC, d, tD, r, a, cl, cPOM, u, h
5353 defaultHeader = header+br+tagline,
5454 footer = (n.toLowerCase() == 'philippines') ? tableFooter+br+specialfooter+br+source+br+repo : tableFooter+br+defaultfooter+br+source+br+repo,
5555 allowedDefaultChartSize = ['sm', 'md', 'lg'],
56- defaultChartStyle = require(`../gfx/layout/${allowedDefaultChartSize.indexOf(chartSize) != -1 ? chartSize: allowedDefaultChartSize[1 ] }.json`);
56+ defaultChartStyle = require(`../gfx/layout/${allowedDefaultChartSize.indexOf(chartSize) != -1 ? chartSize: allowedDefaultChartSize[0 ] }.json`);
5757
5858 // load template with data
5959 // serverUtil.loadTemplate(template, {jsonStyle}, {jsonData}, callback)
0 commit comments