hello, I have some questions about fleet source co...
# fleet
k
hello, I have some questions about fleet source code, why /api/v1/fleet/results register the two same handlers? https://github.com/fleetdm/fleet/blob/main/server/service/handler.go#L539 https://github.com/fleetdm/fleet/blob/main/server/service/handler.go#L542
m
The dev in me wants to say that declaring the route twice should have no effect.
z
Nice catch. That should have had no additional effect. It probably ended up that way as a mistake during all the refactoring we did around API routes. Fixed in https://github.com/fleetdm/fleet/pull/1605.
👍 2