snift / snift-api

🏗 Backend REST API for Snift to sniff security vulnerabilities from the web.
MIT License
2 stars 0 forks source link

Badges value in /scores is incorrect #33

Closed shrirambalaji closed 5 years ago

shrirambalaji commented 5 years ago

If you take a look at the below mentioned gist, you would find a sample /scores response, in which the badges array would have duplicated items, where each item is duplicated to around 11-12 times. It could be possible that we are adding the values to badge array in a loop maybe.

https://gist.github.com/Shriram-Balaji/7a448ba96d09ec3f07780358d7e4d0f0