mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-07-29 18:21:09 +00:00
Added pr reviews to stats (#1404)
* Added pr reviews to stats * Add 'show' query parameter * Fix show test * refactoring * cleanup * refactor: restructure stats-card code --------- Co-authored-by: Markus <markus.tyrkko@gmail.com> Co-authored-by: Alexandr <qwerty541zxc@gmail.com> Co-authored-by: rickstaa <rick.staa@outlook.com>
This commit is contained in:
co-authored by
Markus
Alexandr
rickstaa
parent
c86cc72df2
commit
1bb65ddc29
@@ -37,6 +37,7 @@ export default async (req, res) => {
|
||||
number_format,
|
||||
border_color,
|
||||
rank_icon,
|
||||
show_total_reviews,
|
||||
} = req.query;
|
||||
res.setHeader("Content-Type", "image/svg+xml");
|
||||
|
||||
@@ -95,6 +96,7 @@ export default async (req, res) => {
|
||||
locale: locale ? locale.toLowerCase() : null,
|
||||
disable_animations: parseBoolean(disable_animations),
|
||||
rank_icon,
|
||||
show_total_reviews: parseBoolean(show_total_reviews),
|
||||
}),
|
||||
);
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user