1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-30 10:11:23 +02:00

fixed router path

This commit is contained in:
Brad Rydzewski 2016-04-12 10:13:26 -07:00
parent df7068ef32
commit d635097105

View File

@ -142,10 +142,10 @@ func Load(middleware ...gin.HandlerFunc) http.Handler {
stream.GET("/:owner/:name/:build/:number", web.GetStream)
}
slash := e.Group("/slash/slack")
bots := e.Group("/bots")
{
slash.Use(session.MustUser())
slash.POST("/slash", web.Slack)
bots.Use(session.MustUser())
bots.POST("/slack", web.Slack)
}
auth := e.Group("/authorize")