TP-55555/error consumer
This commit is contained in:
@@ -8,8 +8,8 @@ import (
|
||||
|
||||
func ExceptionRouter(r *gin.Engine, dep *dependencies.Dependencies) {
|
||||
exceptionHandler := handler.NewExceptionHandler(dep.Service.ExceptionService)
|
||||
exceptionRouterGroup := r.Group("/api/v1")
|
||||
exceptionRouterGroup := r.Group("/api")
|
||||
{
|
||||
exceptionRouterGroup.POST("/catch-errors", exceptionHandler.CatchErrors)
|
||||
exceptionRouterGroup.POST("/:projectId/envelope", exceptionHandler.CatchErrors)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user