feat: added repo card hide border option (#488)

* 🚀 Prettier config

* 🚀 hide_border for Repo Card

* fix: wrong total commits (#490)

* chore: run prettier on all files

* chore: lol lets add the trailing commas

Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
This commit is contained in:
Bas950andAnurag Hazra authored and GitHub committed 2020-09-24 21:38:14 +05:30
1 parent 3c6c142c75
commit 8aea1e3c35
35 files changed
+152 -134

No files matched your search

+2 -2
View File
@@ -31,7 +31,7 @@ module.exports = async (req, res) => {
let cacheSeconds = clampValue(
parseInt(cache_seconds || CONSTANTS.TWO_HOURS, 10),
CONSTANTS.TWO_HOURS,
CONSTANTS.ONE_DAY
CONSTANTS.ONE_DAY,
);
if (!cache_seconds) {
@@ -51,7 +51,7 @@ module.exports = async (req, res) => {
bg_color,
theme,
hide_progress,
})
}),
);
} catch (err) {
return res.send(renderError(err.message, err.secondaryMessage));