Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitcoder authored Oct 25, 2024
1 parent ae927b4 commit e61f936
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ app.get('/async-status', async (req, res) => {

app.post('/git-scan/', async (req, res) => {
let job_name = `scanjob${generateRandomString(5).toLowerCase()}`;
let job_id = generateRandomString(5).toLowerCase();
let job_id = req.body.job_id ? req.body.job_id.toLowerCase() : generateRandomString(5).toLowerCase();
let product_name = req.body.product_name;
let branch = req.body.branch;
let engagement_name = req.body.engagement_name;
Expand Down

0 comments on commit e61f936

Please sign in to comment.