Skip to content

Commit e7d4558

Browse files
authored
Refactor SVG card API with improved error handling
1 parent 6303bdd commit e7d4558

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

api/github-card.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const app = express();
77
app.use(cors());
88

99
const { getGithubData } = require("../utils/githubData")
10-
const { generateErrorSVG, generateSVG, generateSVG2 } = require("../utils/theSystem")
10+
const { generateErrorSVG, generateSVGOne, generateSVGTwo } = require("../utils/theSystem")
1111
const { wrapSVGText, wrapSVGTextCenter } = require("../utils/allFunction");
1212

1313
// =========================================
@@ -175,5 +175,6 @@ module.exports = app;
175175

176176

177177

178+
178179

179180

0 commit comments

Comments
 (0)