When i create a path like this, it works;
api.GET("/kspm/:id", myMiddleware, myRoute)
When i create a path like this;
api.GET("/kspm/:scanid", myMiddleware, myRoute)
It doesn't work. For some reason I can only use :id as parameter.
And by doesn't work what i mean is, when run my app, gin lists all the routes to you right. But it gets stuck in that specific route and the rest of the routes doesn't work.