snift / snift-api

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

#33 Bug Fix #34

Closed maruthi-adithya closed 5 years ago

maruthi-adithya commented 5 years ago
maruthi-adithya commented 5 years ago

@Shriram-Balaji So, the declared variable had to be reset every time the API was called. Since it was not, the duplicate entries occurred. This is a fix to initialize the variable to nil everytime it is called.