feat: added hide_title option (#88)

This commit is contained in:
Anurag Hazra
2020-07-17 23:01:16 +05:30
committed by GitHub
parent 96f89ad2b7
commit 2709d5b434
4 changed files with 84 additions and 37 deletions

View File

@ -7,6 +7,7 @@ module.exports = async (req, res) => {
const {
username,
hide,
hide_title,
hide_border,
hide_rank,
show_icons,
@ -31,6 +32,7 @@ module.exports = async (req, res) => {
renderStatsCard(stats, {
hide: JSON.parse(hide || "[]"),
show_icons: parseBoolean(show_icons),
hide_title: parseBoolean(hide_title),
hide_border: parseBoolean(hide_border),
hide_rank: parseBoolean(hide_rank),
line_height,