Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jagadeeshmarthy authored Nov 28, 2019
1 parent a8cae4b commit 43159d2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ app.post('/getRepos', upload.any(), async (request, response) => {
result = await getUserRepos(users[i]);
obj[users[i]] = result.map(data => data.url);
}
// await fs.unlinkAsync(req.file.path)
response.status(200).send(obj);
}
catch(e) {
Expand All @@ -44,4 +43,4 @@ async function getUserRepos(user) {

app.listen(PORT, () => {
console.log(`==app is listening at ${PORT}===`)
})
})

0 comments on commit 43159d2

Please sign in to comment.