klesh commented on code in PR #8611:
URL:
https://github.com/apache/incubator-devlake/pull/8611#discussion_r2485176115
##########
backend/server/api/router.go:
##########
@@ -93,6 +93,16 @@ func RegisterRouter(r *gin.Engine, basicRes
context.BasicRes) {
}
// mount all api resources for all plugins
for pluginName, apiResources := range resources {
+ if pluginName == "webhook" {
Review Comment:
What is wrong with `/plugins/webhook/projects/:projectName/deployments`?
The API is offered by the `webhook` plugin, it should be prefixed by
`/plugins/webhook` by convention.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]