Skip to content

Commit

Permalink
bce-security-build-7945 remove callback api (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
zxxf18 authored Aug 12, 2020
1 parent 8695d34 commit 1b9efb8
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions server/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,6 @@ func (s *AdminServer) InitRoute() {
register.GET("/:batchName/record/:recordName", common.Wrapper(s.api.GetRecord))
register.GET("/:batchName/record", common.Wrapper(s.api.ListRecord))
}
{
callback := v1.Group("/callback")
callback.POST("", common.Wrapper(s.api.CreateCallback))
callback.PUT("/:callbackName", common.Wrapper(s.api.UpdateCallback))
callback.DELETE("/:callbackName", common.Wrapper(s.api.DeleteCallback))
callback.GET("/:callbackName", common.Wrapper(s.api.GetCallback))

}
{
namespace := v1.Group("/namespace")
namespace.POST("", common.Wrapper(s.api.CreateNamespace))
Expand Down

0 comments on commit 1b9efb8

Please sign in to comment.