Skip to content

Commit

Permalink
fix: apply parseBoolean to hide_border in pin.js (anuraghazra#1014)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebeaton authored Apr 26, 2021
1 parent 3d33e5e commit 9551f1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/pin.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module.exports = async (req, res) => {

return res.send(
renderRepoCard(repoData, {
hide_border,
hide_border: parseBoolean(hide_border),
title_color,
icon_color,
text_color,
Expand Down

0 comments on commit 9551f1c

Please sign in to comment.