We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae927b4 commit e61f936Copy full SHA for e61f936
index.js
@@ -28,7 +28,7 @@ app.get('/async-status', async (req, res) => {
28
29
app.post('/git-scan/', async (req, res) => {
30
let job_name = `scanjob${generateRandomString(5).toLowerCase()}`;
31
- let job_id = generateRandomString(5).toLowerCase();
+ let job_id = req.body.job_id ? req.body.job_id.toLowerCase() : generateRandomString(5).toLowerCase();
32
let product_name = req.body.product_name;
33
let branch = req.body.branch;
34
let engagement_name = req.body.engagement_name;
0 commit comments