feat: added hide_langs_below option

This commit is contained in:
anuraghazra
2020-07-21 18:37:16 +05:30
parent 7c104cf8c5
commit 4a8fd03d8d
3 changed files with 24 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ const renderTopLanguages = require("../src/renderTopLanguages");
module.exports = async (req, res) => {
const {
username,
hide_langs_below,
hide_title,
card_width,
title_color,
@@ -42,6 +43,7 @@ module.exports = async (req, res) => {
theme,
hide_title: parseBoolean(hide_title),
card_width: parseInt(card_width, 10),
hide_langs_below: parseFloat(hide_langs_below, 10),
title_color,
text_color,
bg_color,