Skip to content

Commit 648615b

Browse files
authored
Refactor GitHub card API for better error handling
1 parent e7d4558 commit 648615b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

api/github-card.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ app.get("/api/svg-card/", async (req, res) => {
8080
const avatarBase64 = avatarBuffer.toString("base64");
8181

8282
name = github.name.toUpperCase();
83-
desc = `❝ ${desc} ❞`;
8483
desc = wrapSVGText(desc, 50, 17);
8584

8685
// ==========================================
@@ -176,5 +175,6 @@ module.exports = app;
176175

177176

178177

178+
179179

180180

0 commit comments

Comments
 (0)